-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[task] Create a method to Freeze a character's movement. #45
Comments
I like method two because then you could visually show things like ice blocks or traps in game instead of just the invisible blocks in the game. |
The colliders would need to know who they are blocking also, they are not just regular colliders |
Added Frozen Player Controls as an option for Player Movement...this will lock out player movement from the controller/keyboard/gamepad (camera will still be movable) TODO: Add a [Server]Freeze function to the Player |
Is this maybe not similar to stun? This could easily be passed via skills etc. |
This would be the underlying method that stun (and root etc) would use to freeze movement (Stun also would freeze skill usage etc as a secondary effect, so Root is probably the best example here.) This would serve multiple purposes besides skills though, such as freezing players while they watch cutscenes or while they are accessing an npc dialogue or shop. |
Could be a bool, or we can surround the character in invisible colliders that block movement and will visually bounce the character back. Method 2 will work on anything we want it to without injecting code as well
The text was updated successfully, but these errors were encountered: