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
14K
All Categories
69
Official news
1.6K
Engine development
11.8K
Technical Q&A
380
Games showcase
168
Extending the editor
254
Adventure talk
Welcome to the official forum for Adventure Creator.
Forum rules
Main website
Store page
Community wiki
Community Discord
Powered by Vanilla
Comments