↧
Cannot use rigidbody and change velocity at the same time
I am programming a 2.5D game where it is 3D, but the camera looks on as if it is in 2D. I typed in some simple movement code so that I could move, here is the code. using UnityEngine; using...
View ArticleKeeping Object At Side Of Other
I have this hierarchy: _Player _Arms Arm_R Arm_L Body Main Camera Face I use this code to move the arms forward and backward: arms.position = new Vector3(transform.position.x, transform.position.y,...
View ArticleWireframed Cube
If I have a simple 3D cube, how would I draw it in wireframe? ( Without using assets ) It would be preferable to make this in a material, but any method besides that is fine as well.
View Article