We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 2
# Player.
gd
extends KinemacticBody
onready var player_mesh_pivot : Spatial = $MeshPivot
onready var mesh : Spatial = $MeshPivot/Semiproceduraldummy onready var animation_tree : AnimationTree = $MeshPivot/Semiproceduraldummy/AnimationTree onready var camera_pivot : Spatial = $CameraPivot
var camera_offset : Vector3 = Vector3(0,6,0)
var camera_transform : Transform
var direction_forward_axis : Vector3
var direction_side_axis : Vector3 var direction : Vector3 var speed : float = 20.0 var velocity : Vector3 var last_velocity : Vector3 var acceleration : Vector3 var tilt : Vector3 var target_position : Vector3 var rotation_transform : Transform var up_down_movement : Vector3