#Can someone help me with collisions?

1 messages · Page 1 of 1 (latest)

past jay
#

Good afternoon, I’m working on a personal project to create an RPG Tabletop, similar to the system used by Tabletop Simulator. I’m currently facing an issue with the collision of my tokens.

I want the tokens to move according to Terrain Collision and automatically adjust when passing through gaps or small-to-large elevations. However, in my tests, the Objects (tokens) either fall off the collision platform or pass through it when moving uphill.

The system I’m using relies on a Raycast to move and drag the Objects with the mouse. Is there any Rigidbody configuration or a way to adapt my script to prevent them from going through the ground or failing to move properly over elevated/sloped surfaces?

The code is an adaptation of the DragObject/GrabObject idea, but designed so that the Token does not tip over or fall.

gray ferry
#

do these need to be simulated rigidbodies?

#

also a video of the issue would help

past jay
gray ferry
#

seems to have more issues than just falling through the floor

#

also you didn't show it falling throught the floor

#

I think you need to narrow in on your problem(s)

#

the reason it would fall through the floor would be its being placed under the floor