The three numbers are acceleration, velocity and time, respectively.
It seems like the actor didn’t get force for first 0.14 seconds.
Could anyone tell me what I did wrong, or why it happens?
in first branch add “do-once” then save time since creation
in second branch do all your stuff
There is another possibility:
Add force waits until physics update (which may happen at new frame/tick).
Then your print node gets updated values. So AddForce acts like tiny delay node.
I tried your approach, but the result was same.
So I tried AddImpulse instead and multiplying the impulse by Delta Seconds, and I think the results are okay now.
Now, I want the acceleration to be of a cosine function.
I expect that the actor should return to its original position in each period, but the actor is slightly moving upward after each period.