Topic: [QUESTION] How to get directions?
I like the direction from "vec2 point" to "character->pos"
What should I do?
THX
You are not logged in. Please login or register.
Teeworlds Forum → Development → [QUESTION] How to get directions?
I like the direction from "vec2 point" to "character->pos"
What should I do?
THX
ok! ufff my maths are very bads xDDDD
I've solved this way: normalize(character->pos - vec2);
Teeworlds Forum → Development → [QUESTION] How to get directions?
Powered by PunBB, supported by Informer Technologies, Inc.
Currently installed 3 official extensions. Copyright © 2003–2009 PunBB.