Fixed annoying error
This commit is contained in:
parent
100afe5e51
commit
aa1c1c8d64
8 changed files with 38 additions and 49 deletions
|
|
@ -7,9 +7,3 @@ const IMPULSE = 10
|
|||
@export var slot: StringName
|
||||
@export var weapon: WeaponSubStateMachine
|
||||
@export var team: Session.TEAMS
|
||||
|
||||
@rpc("any_peer","call_local","reliable")
|
||||
func drop(direction: Vector3,new_position: Vector3):
|
||||
apply_impulse(direction * IMPULSE)
|
||||
global_position = new_position
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue