Playmaker Forum
PlayMaker Help & Tips => PlayMaker Help => Topic started by: shinodan on June 19, 2012, 04:53:10 AM
-
So im making a little 3rd person shooter prototype and the way it works is by shooting a small sphere, the sphere projects correctly but i cant get any object to detect its collision. tried trigger enter and collision enter
and ive tried making the sphere and the target a trigger but nothing, can anyone point me in the right direction why?? thanks!
-
Have you added a sphere collider to the sphere so it actually has a collision?
By default they don't have any.
edit: ops misread your post. been a while since I did bullets but if I remember correctly I added
a rigid body and turned off gravity + added a collider and that worked.
-
yes, either a character controller or a rigidbody needs to be involved to detect collisions.
-
hey guys i have a rigid body attached.
on my target i have a simple on trigger enter action on it to test if it picks up the collision, still nothing despite follow your advice :(
-
a scene says more than a thousand posts :D
www.twisted-pantheon.com/Downloads/New%20Unity%20Project%204.7z
just start the game and move the left cube around until it hits the other cube. Then there should be both a trigger and a collision event on the fsm of the static (right ) cube.
-
It didnt open in my unity :/
-
huh, how do you mean? open the entire folder as a project and make sure you added your own playmaker.dll before opening it.
I used the most recent unity and the most recent (non beta) playmaker
-
i get an itween and other compiler errors :(