Fix shell casing spawning offset in Handgun #132

Open
opened 2021-12-29 02:45:58 +01:00 by unfa · 0 comments

The shell casinig is offset to compensate for a delay there was in Godot at some point.
The delay may be gone now, and the axis is wrong, causing the shell casing to spawn offset to the side when the player walks forward etc.

The code is in Weapon.gd, line 64:

	casing_instance.global_transform = ejector.global_transform.translated(player.motion_velocity / 60) #approximating delta

This could be a good first issue to tackle for a new contributor.

The shell casinig is offset to compensate for a delay there was in Godot at some point. The delay may be gone now, and the axis is wrong, causing the shell casing to spawn offset to the side when the player walks forward etc. The code is in `Weapon.gd`, line 64: ``` casing_instance.global_transform = ejector.global_transform.translated(player.motion_velocity / 60) #approximating delta ``` This could be a good first issue to tackle for a new contributor.
unfa added the
good first issue
bug
labels 2021-12-29 02:45:58 +01:00
This repo is archived. You cannot comment on issues.
No Milestone
No project
No Assignees
1 Participants
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: unfa/liblast#132
There is no content yet.