Fixed player unable to rotate

This commit is contained in:
2019-09-25 10:57:37 -05:00
parent a2089c0ae1
commit f41078b14b

View File

@@ -11,7 +11,7 @@ class IMICFPS
def initialize(map_entity: nil, spawnpoint: nil, backface_culling: true, auto_manage: true)
@position = map_entity ? map_entity.position : spawnpoint.position
@orientation = map_entity ? map_entity.orientation : spawnpoint.position
@orientation = map_entity ? map_entity.orientation : spawnpoint.orientation
@scale = map_entity ? map_entity.scale : 1.0
@backface_culling = backface_culling