I have been working on an app for a while and have recently realized that Rain may solve some problems I’m having and expedite some other solutions.
Currently, I am tryin something simple: moving a cube using a custom action and the the Translate() function from MonoBhavior. However, It doesn’t move. Is the Motor interferring? I have used this kind of motion a lot in the past and it works so I know that I am doing it correctly.
The node is definitely being entered as I am getting the Debug.Log message in my console but the ai.Body doesn’t respond to any rotations, translations or scaling.
Please see my custom action’s code below:
public override ActionResult Execute(RAIN.Core.AI a_oAi)
a_oAi.Body.transform.Translate(a_oAi.Body.transform.forward * 0.1f);