Flamehead
Member
I'm trying to build an ability that will have an effect on the player's position. So I've started with a super simple example to get things working and so far it's not working. I placed the character at world position (0, 0, 0) and wrote the following code grabbing the m_Transform.position from the Ability namespace. I then created a Transform for the target and then placed an empty game object in the scene to provide the target transform.
I've placed the lerp logic inside both the ApplyPosition and UpdatePosition, never them at the same time, but neither would produce player transform lerp.
Firstly, what logic am I missing to lerp the player to the target?
Secondly, would this go into Apply Position or Update Position?
Thanks
I've placed the lerp logic inside both the ApplyPosition and UpdatePosition, never them at the same time, but neither would produce player transform lerp.
Firstly, what logic am I missing to lerp the player to the target?
Secondly, would this go into Apply Position or Update Position?
Thanks