1
0
Fork 0

Added forward function

This commit is contained in:
Michaël Lemaire 2020-12-28 01:07:49 +01:00
parent 3a7cd76d55
commit 8fec35657a

4
math_tool.gd Normal file
View file

@ -0,0 +1,4 @@
# Return the forward vector for a global transform
static func forward(transform: Transform) -> Vector3:
return transform.basis.z.normalized()