Skip to content
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

Open
francy51 opened this issue Mar 1, 2020 · 5 comments
Open

[task] Create a method to Freeze a character's movement. #45

francy51 opened this issue Mar 1, 2020 · 5 comments

Comments

@francy51
Copy link
Collaborator

francy51 commented Mar 1, 2020

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

@runningbird
Copy link

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.

@DX4D
Copy link

DX4D commented Mar 1, 2020

The colliders would need to know who they are blocking also, they are not just regular colliders

@DX4D
Copy link

DX4D commented Mar 2, 2020

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

@epicality85
Copy link

Is this maybe not similar to stun? This could easily be passed via skills etc.

@DX4D
Copy link

DX4D commented Jul 29, 2020

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants