Playmaker Forum
PlayMaker Help & Tips => PlayMaker Help => Topic started by: PolyMad on October 05, 2018, 11:53:50 AM
-
As per title: it's not giving back anything as you can see in the image.
The collider is without a doubt touching the terrain, and the terrain has a "Terrain Moon 1" physics material applied to it.
-
Didn't check myself, but are you sure it's not checking of the wheel-object has a material? If you add a material to the wheel does it show up in the action?
-
Of course the WHEEL COLLIDER has a material WHEEL TIRE applied ;)
Also, from a GET COLLISION INFO thing I would expect data coming from a collision event, not to get the physics material of the object I am checking, thing that I can find with GET PROPERTY and other ways.
-
I did a quick test in a new scene and it worked, so not sure what is going on. My test was just two new cube objects with a physics material, rigidbody added and one of them have an FSM. FSM has 'collision event, on enter' which goes to a new state with the 'collision info' which showed me the object collided with and it's material.
So the action seem to work as intended. Maybe you could post your game object setup and the collision event state.
-
Thank you for helping, I'll try to replicate your set up and see if I can track down the problem :)