How do I use Anglelerp ?

Get help using Construct 2

Post » Mon Aug 15, 2016 9:37 pm

How do I use Anglelerp to rotate my player?
I have no clue :(
B
3
Posts: 4
Reputation: 183

Post » Tue Aug 16, 2016 9:28 am

From the How do I FAQ
Explanation of lerp - LINK
Even more clarification of LERP - LINK


This is for lerp, but applies also for anglelerp since it is the same order of idea.

Player angle = anglelerp(Player.angle, TargetAngle, MagnitudeOfMovementPerSecond (dt))
New to Construct ? Where to start

Image Image

Image Image

Please attach a capx to any help request or bug report !
Moderator
B
294
S
117
G
96
Posts: 7,312
Reputation: 71,092


Return to How do I....?

Who is online

Users browsing this forum: Congrats2u and 24 guests