Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

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

Asked by 5 years ago

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!

0
Your best shot at that is making all of the parts in a character can collide = false User#19524 175 — 5y
0
Collision groups? Rare_tendo 3000 — 5y
0
There is no roblox function that controls the player's cancollide? User#21908 42 — 5y
0
You can do it yourself with a script though User#19524 175 — 5y
View all comments (3 more)
0
incapaz, the torso will always have its cancollide property set to true, even if you try to change it every frame Rare_tendo 3000 — 5y
0
How do some games make it so that the players cannot touch each other? User#21908 42 — 5y
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 Rare_tendo 3000 — 5y

1 answer

Log in to vote
0
Answered by
Rare_tendo 3000 Moderation Voter Community Moderator
5 years ago

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.

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? User#21908 42 — 5y
0
I don't have a link, but you could try BodyVelocities Rare_tendo 3000 — 5y
Ad

Answer this question