Quantcast
Channel: Unity Forum
Viewing all articles
Browse latest Browse all 1466670

Moving 3D Objects in Unity with RayCast

$
0
0
Hey guys. I am currently working on a M.O.B.A style game and im currently developing the caracter movement.
so far i got this:


using UnityEngine;
using System.Collections;

public class Player_Control : MonoBehaviour {

private Transform myTransform; // this transform
private Vector3 destinationPosition; // The destination Point
private float destinationDistance; // The distance between myTransform and destinationPosition

public float...

Moving 3D Objects in Unity with RayCast

Viewing all articles
Browse latest Browse all 1466670

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>