Hello!
I wanted to make an un-collidable object drop to the floor naturally while not going through the floor. I already tried tween service but it does not look smooth. Any Suggestions?
If you wish for the part to not collide with players or other parts excluding the floor, I would recommend looking into PhysicsService.
I would suggest creating two various CollisionGroups
. One for the part that hits the floor, and one for the objects around it (excluding the floor itself) and the players. Set the part’s collision group so that collisions with the other group are disabled. This results in the part being dropped to not collide with players or surrounding objects, but hit the floor, while the players also collide with the floor.
Hope this helps.
- MattPrograms
I mean if it’s un-collidable of course it will fall through the ground. Or use physics service like Matt said.
If I use collision groups the part will just stand up right and not move.
hm, I was thinking about that ( I know what Collision groups are) once the object has been destroyed I can fling it like .25, .25, .25 to get the results I want.
You might have to explain a bit more, because collision groups seem to be perfect for what you described.
Im trying to make a crop system so when u cut down a crop it falls through the floor, but the player can still walk through it being CanCollide = false.
Can’t you do something like this with collision groups?
Do you mean:
I’m trying to make a crop system so when u cut down a crop it doesn’t fall through the floor, but the player can still walk through it being CanCollide = true.
Also, an example of things you can do with collision groups:
How do u set the collision group id? or is it just in order with the groups.
nvm I found it out. it goes in order.
You generally should use a script to get collision groups because adding more collision groups can change their numerical references*.
* they ordered alphabetically, you can sort of get around this by naming your collision groups things like aCharacters and bCrops)./i>
I don’t know but the collision groups are not working. I put that characters and crops can not collide but they still collide.
You probably need a script to change the characters collision group. They start as the default group (other parts do too).
I forgot, zero is the base group I thought one was.
Wonky C stuff leaking through.