Hi all,
I'm using a complex system that involved an entity, player and camera. I am using all 3 as the player essentially. Things have been going very well positioning wise however with angles it gets a bit complicated.
Quite simply when I rotate the camera, player or entity i dont want to the return value to be greater than 360 or less than -360. In Game Guru when you use the rotation commands it seems to always exceed 360.
I am curious if these commands are the solution?
CurveValue(dest,current,smooth)
WrapValue(y)
WrapAngle ( Angle, Dest, Smoothing )
Wrap Value (y) seems to be the solution but It doesnt seem to work. Kind of wish to the rotation commands themselves when rotating things would not go past 360.
EDIT:
Think i have my solution: (example
CurveAngle(destangle,GetCameraAngleY(0),1)
will convert any number beyond 360 down
Store Assets -
Store Link
i7 -2600 CPU @ 3.40GHz - Windows 7 - 8GB RAM - Nivida GeForce GTX 960