Discussions
Sign In
Forum rules
- please read before posting.
How to check in a script if player movement is constrained?
gbo
March 2016
in
Technical Q&A
I can't find a function in the API that lets me do this.
Basically, I did Player -> Constrain -> Movement == disabled. Now I need to check this state or condition, in a script.
Comments
ChrisIceBox
March 2016
In all directions? Use AC.KickStarter.playerInput.
AllDirectionsLocked
();
gbo
March 2016
Thanks!
AC.KickStarter.playerInput has that and much more
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!
Sign In
Register
Quick Links
Categories
Recent Discussions
Categories
12.7K
All Categories
66
Official news
1.5K
Engine development
10.7K
Technical Q&A
337
Games showcase
152
Extending the editor
230
Adventure talk
Welcome to the official forum for Adventure Creator.
Forum rules
Main website
Store page
Community wiki
Community Discord
Powered by Vanilla
Comments