Skip to content

Handle mutually exclusive abilities #5

@marcinn

Description

@marcinn
  • Some abilities are mutually exclusive, like walking vs flying vs swimming vs parachute flight
  • Some abilities can be enabled manually (opening parachute or flying with jetpack), others can be enabled by environment (underwater areas)
  • Are they mutually exclusive? Can the player walk underwater if he stands on the bottom?
  • Can a parachute be opened while walking on land?
  • player.register_control_ability(Walk, exclusive=true) ?
  • State machine built into UP_BasePlayer or customizable outside?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions