Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: topscore1632 on June 18, 2015, 11:20:15 AM

Title: Rigidbody not working on created prefabs
Post by: topscore1632 on June 18, 2015, 11:20:15 AM
Hi everyone,

I've got a prefab object (a tennis ball) which has a rigidbody on it and physic material to make it bounce. If I drag the prefab into the scene and let it fall it bounces around nicely.

However if I spawn that same prefab via an empty game object spawner and using a Create Game Object action, the ball spawns but it will just fall through the floor as if its collider has gone.

I'm sure I must be missing something obvious, but any help appreciated!

(Unity 5.1 and Playmaker 1.7.8.2)
Screenshots of the prefab settings and the spawner FSM attached. The second state you can't see in the screenshot just waits for some time before looping back.