Jump to content

Recommended Posts

so the character can pass through objects and float on water and things like that:

-- in the end of your master_postinit of your character
MakeGhostPhysics(inst, 1, .5) -- param1: instance of your character, param2: mass (1 is used for ghost), param3: Radius, idk what is it, maybe a colision raidus
inst.components.drownable.enabled = false

Another configurations:

inst:RemoveComponent("burnable")
inst.components.freezable:Reset()
inst:RemoveComponent("freezable") 
inst:RemoveComponent("propagator")
inst:RemoveComponent("grogginess")
inst:RemoveComponent("slipperyfeet")

If you mean literally flying like a bird, well, that's a lot more complicated because the game allows you to position yourself at any height, but the game isn't designed for objects like that, so you'd have to do quite a bit of programming to be able to do that. If that's what you want, I could help you.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • Create New...