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

fix: apply interaction_direction to interaction_angle change #72

Open
wants to merge 1 commit into
base: devel
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions api/ESCItem.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,16 +113,17 @@ and be moved with commands like teleport and turn_to.
export var player_orients_on_arrival = true
```

If true, player orients towards 'interaction_angle' as
player character arrives.
If true, player orients towards the direction corresponding to angle
'interaction_angle' (in degrees) as player character arrives.

### interaction\_angle

```gdscript
export var interaction_angle = 0
```

Let the player turn to this angle when the player arrives at the item
Let the player turn to the direction corresponding to angle value
(in degrees) when the player arrives at the item.

### tooltip\_name

Expand Down
7 changes: 4 additions & 3 deletions api/ESCLocation.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,16 +46,17 @@ If true, this ESCLocation is considered as a player start location
export var player_orients_on_arrival = true
```

If true, player orients towards 'interaction_angle' as
player character arrives.
If true, player orients towards the direction corresponding to angle
'interaction_angle' (in degrees) as player character arrives.

### interaction\_angle

```gdscript
export var interaction_angle = 0
```

Let the player turn to this angle when the player arrives at the item
Let the player turn to the direction corresponding to angle value
(in degrees) when the player arrives at the item.

## Method Descriptions

Expand Down