What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal

Heading & Speed

Status
Not open for further replies.

kazaak

New Member
Joined
Feb 1, 2014
Messages
8
Reaction score
0
I can't seem to find a Creature/SpawnObject's heading or speed. If these don't exist in the API is it possible to add them?

Thanks,

Kazaak
 
Hello, not sure if you still look for info, but i would try to play with:

SpawnObject.turnAngle for the heading (i had a headache trying to figure exactly how to use it)

and

SpawnObject.angleVelocity (not documented, but is in API) and i see in API .toX .toY .toZ (Returns X, Y, Z axis speed per second.) i newer used this, so i might be wrong, but i would start there.
If nothing work, and you really want this info, you need to store the creature position somewhere, then read then getCreatures() again, record the time elapsed, and take the new position, then do some math: how far he went in time? and that is your relative speed (relative to Archebuddy map coordinates). If you do that math on yourself, with a mount (of witch we know the speed, i don't think we have any other meters/second know) you can find a coefficient (if needed) to display the exact speed Meter Archeage use.
Hope this make sense.
/Hat
 
Last edited:
Status
Not open for further replies.
Back
Top