Playmaker Forum
PlayMaker Help & Tips => PlayMaker Help => Topic started by: MarkD on February 17, 2017, 07:44:49 PM
-
Hey everyone,
In my scene I want the player to push a large sphere, let's call it a boulder.
The player can't have a rigidbody component since my player is using a motion controller.
The boulder can have a rigidbody, however.
What I want to be able to do is apply force in the direction from where the player collides with the boulders collision.
It seems like I should be able to do something like getting the vector of the player object on collision and then storing that as a variable and applying force in that direction to the boulder. But everything I've tried has failed.
Anyone smarter than me have any ideas?
-
see if this helps
target would be the ball, source the character
-
Terri - thank you!! That worked beautifully!