#bouncing triggers raycasts

1 messages · Page 1 of 1 (latest)

gritty matrix
#

ka can be ignored, is currently only a temporary thing, because i don't want to create my cube in the air by code

stoic matrix
#

Why not check if the dice is done rolling with sleeping? Instead of all the velocity stuff

stoic matrix
#

And make sure you get the collision layers & masks right, otherwise you might fire off multiple collisions when 2 dice happen to land next to each other

stoic matrix
gritty matrix
#

Sleeping don't work as it should

gritty matrix
stoic matrix
gritty matrix
gritty matrix
#

Because I have still the bug, that sleeping is True in the first frame of my dice being in the air

stoic matrix
#

Put all of it in _physics_process() instead

#

Since you're doing physics stuff, it goes there