Forum rules - please read before posting.

Disable Player Control via CutScene and Player Movement to Kinematic?

Hello,

I get to a specific point in my level where the player is no longer needed and at that point I have a custom "mini game" that needs to take place,

Still utilizing AC's functions,

I have the cutscene set to:
Engine manage systems; Player; Disabled
Continue to Player Constraint Affected by gravity: Disabled,

Now if I run the Player still falls due to gravity being still turned on it.


Is there a way this can be achieved via the CutScene or is is custom scripting? so that when the game starts, the player not be affected by gravity, as its supposed to move along all axis X,Y,Z, via a custom script.

Thank you

Comments

  • It's done with custom scripting, but it's simple enough:

    AC.KickStarter.player.GetComponent <Rigidbody>().isKinematic = true;

    You can either place that in a script in your scene and call it with the Object: Send message / Object: Call event Actions, or incorporate it into a custom Action.
  • Thank you I will give that a go.
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Welcome to the official forum for Adventure Creator.