Entity Circular Translation Movement
Hi i wanted to make an entity travel around an origin, i have origin 1(center) and origin2(start), and i have start velocity, but i dont know how to make the circle direction,
https://i.ibb.co/hLj877r/rad.png |
Re: Entity Circular Translation Movement
I would form it like the following...
In entity think Isnt Entity In radius? NewOrigin = Origin One + Entity Left/Right Vector MoveToNewOrigin Else RotatePointByAngle MoveToOrigin Here is the function RotatePointByAngle You just need to rephrase the code to pawn language. PHP Code:
|
| All times are GMT -4. The time now is 11:29. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.