Hello, someone would know to successfully translate this piece of code in Python Portalgun of Jakkee, translate to C #?
Thank you
Thank you
Python:
hit = UnityEngine.Physics.RaycastAll(Player.PlayerClient.controllable.character.eyesRay)
if len(hit) > 0:
hit[0].point.y += 2
hitlocation = hit[0].point
Player.SafeTeleportTo(hitlocation)