Skip to content

Commit 44ee5f3

Browse files
committed
Update looking_at() after API change
1 parent 56c25ba commit 44ee5f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

squash-the-creeps/rust/src/player.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ impl ICharacterBody3D for Player {
5555
let mut pivot = self.base_mut().get_node_as::<Node3D>("Pivot");
5656

5757
// Setting the basis property will affect the rotation of the node.
58-
pivot.set_basis(Basis::looking_at(-direction, Vector3::UP, true));
58+
pivot.set_basis(Basis::looking_at(-direction));
5959
self.base()
6060
.get_node_as::<AnimationPlayer>("AnimationPlayer")
6161
.set_speed_scale(4.0);

0 commit comments

Comments
 (0)