For a game that i’m making, i do not need roblox’s physics.
So far i’ve done some work on making it run less hard by anchoring everything and putting cancollide off. but this still seems to slow the game down for just a bit when i clone an object and i suspect that this is caused by the engine immediatly throwing physics at the clone before it really even knows what to do with it.
And thus i ask, how do i completely turn it off? No collisions, no gravity, no anything. just rendering and inputs.
Also, if anyone knows how to get rid of those annoying starterplayerscripts that get put into your character (Health, animate) without having to put your own empty version in starterplayerscripts, please let me know.
I’m a bit interested in what type of game you are going to make. As physics play a major part in most games. How and when are you getting slowdowns? Physics shouldn’t act on anchored parts…
https://www.roblox.com/games/6050491577/Speedcube?refPageId=665703af-64f0-4042-9638-a338d2e1dbde
So far i haven’t reuploaded the new version yet for open sourcing.
Also, monkeys are indeed quite cool and fun.
For the no gravity part, you can use BodyForces to counteract the effect of gravity on players, it might be strenuous for parts though.
with no physics i also mean things such as welds and bodyforces.
this is an absolutely no physics game.
Hmm… Maybe you could try something like
local lastpos = Vector3.new(0,0,0)
game:service'Players'.PlayerAdded:Connect(function(player)
player.CharacterAdded:Connect(function(char)
while wait() do
if lastpos.X ~= char.HumanoidRootPart.Position.X then
char.HumanoidRootPart.Position = lastpos
end
laspos = char.HumanoidRootPart.Position
end
end)
end)
Obviously this has many bugs in it, but I just wrote it as a little example.
i think you’re misunderstanding me.
The game doesn’t need roblox’s physics and doesn’t use standard roblox models either.
So i’m looking for an option to toggle it instead of fixing it using a script.
Just don’t use parts then. Based on that screenshot the game will be 2D.
Im not sure if this would help or not but in the game settings under world there are some settings which may help???
it isn’t 2d. how would you even use 3d objects for a 2d game? I wouldn’t be complaining if i had to use UI objects.
Also, @helpfulllukemaster1 those don’t really fully disable the physics.
Go into
studio > Home Tab > Game Settings > Physics > Workspace Gravity > set to 0
i already did that, but gravity does not equal all physics.
Every single litle bit needs to be turned off. i don’t need collision detection for instace because i’ve made that myselve already.
I don’t think you can. Just make everything not collidable. I don’t understand why you would even want to turn off ROBLOX default physics to make your own. What’s your motive here?
i don’t see an option either. my motive is to take over robloxia of course!
i’m actually making a game that doesn’t need physics. link can be found above.
I see. I’d just say change gravity and turn off CanCollide, what else would you even need to change?
Also, why can’t i go in the middle lane? When I just tap a or d for even a small fraction of a second it sends me all the way left or all the way right.
You can go into the middle lane by pressing s.
Sadly, i don’t think it’s possible after having done some more looking around.
You could use a fake character, however you need to manage all of the movement.