Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How can I create a no clip script when StrafingNoPhysics cannot be set with a script?

How can I create a no clip script when StrafingNoPhysics cannot be set with a scrip? I previously asked this question and got a response that was not very clear. He said: My recommended fix for this is to use BodyMovers or some other BodyForce-type object that can accelerate/move the player in any direction. But that still does not solve my problem because how can I make it so the player is unable to collide with other objects and able to control the direction he goes? Could someone provide a link or a useful link that can make clear this matter to me? I do not need a script, I just need to know where to look so I can find what I need to change about roblox base settings. Thanks!

7 comments

0

Your best shot at that is making all of the parts in a character can collide = false

0

Collision groups?

0

There is no roblox function that controls the player's cancollide?

0

You can do it yourself with a script though

0

incapaz, the torso will always have its cancollide property set to true, even if you try to change it every frame

0

How do some games make it so that the players cannot touch each other?

0

They insert each body part of all players nto a collision group, then use the CollisionGroupsSetCollidable function, with the players collision group as both the first and second argument, then set the third argument to false

1 answer

My guess is to just use collision groups, You can make two of 'em: one for the player's body parts, and another for the rest of the parts in the environment.

Then you use the CollisionGroupsSetCollidable function to make the player not collide with the other parts in the workspace.

2 comments

0

Ok but how can I allow the player to control where they fly? could you add a link to inform me on how to attempt that?

0

I don't have a link, but you could try BodyVelocities

This discussion is preserved as it was. New answers, comments, and votes are closed.