Skip to content

Example script needs note about deadzone #88

@scottpetrovic

Description

@scottpetrovic

I was importing your plug-in and notice there's a minor issue in your sample player.gd. If you change the dead zone in the virtual joystick node to 0 so it has no effect, there will still be a dead zone. The reason is the last parameter in the Input.get_vector has an automatically calculated Dead zone based off the area. By default it's set to negative one. This overrides your dead zone component script. You probably can just add a zero in the last parameter like this.

17329177185567551833429311856916

Metadata

Metadata

Assignees

No one assigned

    Labels

    RefactoringSmall refactor without major changes

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions