Hi guys,
This is a problem that have very often in unreal script and I don't know how to fix it.
I'm pretty noob in mathematics.![Roll Eyes :rolleyes: :rolleyes:](data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)
Any ways I want to move a player(Pawn) at the same speed around a pivot.
Something like this:
I tried this but the bigger my offset the faster the player go's.
I also try this and it work almost only the player is offsetting a little bit every round.
Also don't know how to put a offset in this.
This is a problem that have very often in unreal script and I don't know how to fix it.
I'm pretty noob in mathematics.
Any ways I want to move a player(Pawn) at the same speed around a pivot.
Something like this:
![23jq0ya.jpg](http://i39.tinypic.com/23jq0ya.jpg)
I tried this but the bigger my offset the faster the player go's.
Code:
MyAngle.Pitch = DeltaTime * 100;
NewLocation = Pivotpoint + Vector(MyAngle) * offset;
I also try this and it work almost only the player is offsetting a little bit every round.
Also don't know how to put a offset in this.
Code:
GetAxes(rotator(Pivotpoint - pawn.location),X,Y,Z);
pawn.Velocity = Y * PlayerInput.aStrafe;