DeltaYaw?

Blitz3D Forums/Blitz3D Beginners Area/DeltaYaw?

Guy Fawkes(Posted 2013) [#1]
Can someone please tell me the formula I can use to get the exact same outcome as DeltaYaw(), the function from BlitzBasic?

I want to simply learn how these 3 functions, DeltaPitch(), DeltaYaw(), & DeltaRoll() are made.

Thank You.


RemiD(Posted 2013) [#2]
I think you can calculate an angle from an entity oriented in a direction to another entity oriented in another direction with the Dot product (vectors math)


Floyd(Posted 2013) [#3]
http://blitzbasic.com/Community/posts.php?topic=76602


Guy Fawkes(Posted 2013) [#4]
Ah! Thanks alot, guys! :)