Jump to content

Recommended Posts

I'm trying to set a player's position to beneath the ground, but something is reverting the player back to its original location in the next frame. 

ThePlayer.Transform:SetPosition(0,-5,0)

I can't find where Transform is defined. Is it on the C++ side? Any workaround for this? 

@BluesyBuesy

ThePlayer.Physics:SetActive(false)

You won't be able to move until Physics is active again, though.

So really only useful if you want the player to burrow and hide them/show some fx at the surface without letting them move.

Edited by CarlZalph
Tagged.
6 minutes ago, CarlZalph said:

@BluesyBuesy


ThePlayer.Physics:SetActive(false)

You won't be able to move until Physics is active again, though.

So really only useful if you want the player to burrow and hide them/show some fx at the surface without letting them move.

Sweet. It's for a short video clip where the camera follows the player gradually descending into the ground, so that works perfectly. Thanks man. 

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...