A Unity ID allows you to buy and/or subscribe to Unity products and services, shop in the Asset Store and participate in the Unity community.
Separate names with a comma.
Hi all. Need some help with the argument used in Rigidbody2D.MoveRotation().... I have seen the following code examples used to rotate a rigid...
Thank you Kybernetik. I should have articulated the context of my original post. My bad, here goes: I have an 'explosion' animator attached to...
I have a series of sprites in the animation and I would like to start the animation from the 7th frame in the series or 2 sec (later) from the...
Is there a component combination that will allow a game object's movement to be directly manipulated through Transform (script) and yet does not...
The codes move the player with click to move. However, when the player reaches the destination, it does not stay still and attempt to move on the...
I was reading up on observer pattern to refactor codes in the Update(), which lead me to some write-up on event driven programming. For event...
Thank you hpjohn!
I have selected the option "Attach to Unity and Play" in VS 2015 as shown in this video here [MEDIA] . In the video, the focus is switched back to...
private void OnDrawGizmos() { Gizmos.color = Color.blue; Gizmos.DrawRay(transform.position, Vector3.forward * 100f);...
If whatever we have in Update() / Start() are supposed to override the inherited Start() and Update() functions from Monobehaviour, why isn't a...
I am trying to get standard asset -> Particle systems -> Wildfire (leaving a fire trail as character moves) to work. Initially I thought it is due...
After experimenting with the various components on the character, it seems that rigidbody component is interfering with the particle systems....
Code for character movement using wasd: private CharacterController characterController; private float moveSpeed = 5.0f; void Start () {...
I have imported the standard particle systems -> Wildfire and child it to my player model. The player model is moved with mouse clicks. I have...
For creating the arrow in those coordinates, do you mean something like the code below? private void FireArrow () { GameObject...
Does the physics engine check on the velocity, which in turn resolve the newArrow.transform.forward (blue axis), every frame? If the physics...
The character has an animation for firing his crossbow; firing the crossbow when the crossbow is swing up from the negative y direction until it...
Thank you Joshmond!
Hi Joshmond, What you suggested worked perfectly, thank you. However, I would like to know more on using the Transform parent parameter in...
Objective is to instantiate a arrow on top of a crossbow held by a enemy character. What I did was to child the arrow object to the crossbow...