3D locomotion problems
so far in my game ive been trying desperately to get the units to move from one point to another properly.. i.e.(disregarding obstacle avoidance) turn to face location, move to...
this is sort of happening but at certain angles the unit decides to do a total revolution and then continue with its path.. does anyone know how i can to fix this?
Get busy livin'' or get busy dyin''... - Shawshank Redemption
Altered Vision
Get busy livin' or get busy dyin'... - Shawshank RedemptionIf a man is talking in the forest, and no woman is around to hear him, is he still wrong? - UnknownFulcrum
It sounds more like a bug than a feature... check under what conditions your units choose to turn left or right and make sure your computation of angles is correct. If you still can find the bug, post your algorithm here (not your code) and we can dissect it.
Cheers,
Timkin
Cheers,
Timkin
i have problem with total revolition a time ago. i fixed it, as it happens because of functions like tan or other trig. funcs changes at certain angles.Adjusting them may fix your problem.
i always keep rotion angle b/w 0-360.
[edited by - DirectXXX on June 14, 2003 4:57:57 PM]
i always keep rotion angle b/w 0-360.
[edited by - DirectXXX on June 14, 2003 4:57:57 PM]
3D Side-Scroller game demo Project-X2 "playable"Lashkar: A 3D Game & Simulation Project demo @ lashkar.berlios.de
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement