0

How to make a character move using unity

idk what I'm doing

1st Feb 2019, 7:44 PM
JP Macrigiane
JP Macrigiane  - avatar
2 Respostas
0
hi JP Macrigiane this link should help https://m.youtube.com/watch?v=YfIOPWuUjn8 also check out the rest of his videos P.s if you get confused try this code it should work transform.Translate( 5, 0, 0); //x y z position that will move the object to the right. i hope this helps
1st Feb 2019, 7:51 PM
Ollie Q
Ollie Q - avatar
0
Create a charactor.. Add component.. C# script... Then code it There are a number of ways. You can move by moving the transform.. transform.position = new Vector3(transform.position.x+0.5f, transform.position.y, transform.position.z); You could add force to a rigidbody.. private Rigidbody rb; rb=GetComponent<Rigidbody>(); rb.addforce(transform.forword * speed * Time.DeltaTime;
2nd Feb 2019, 12:25 AM
LordHill
LordHill - avatar