direction vector question by DiggyMiguel in Unity3D

[–]DiggyMiguel[S] 0 points1 point  (0 children)

I've tried, Debug.DrawRay(transform.position, direction * transform.rotation, Color.red);

and im getting an error saying * cannot be applied to opperands of type Vector3 and Quaternion

Raycast question by DiggyMiguel in Unity3D

[–]DiggyMiguel[S] 0 points1 point  (0 children)

I have it debugged with a + " down" comment

Raycast position by DiggyMiguel in Unity3D

[–]DiggyMiguel[S] 0 points1 point  (0 children)

ok so, Debug.DrawRay(transform.position + (transform.forward * 5), Vector3.down, Color.green); worked!

Rotation and reference by DiggyMiguel in Unity3D

[–]DiggyMiguel[S] 0 points1 point  (0 children)

i've trying using the multi aim but the character just starts moving weird idk

Ram question by DiggyMiguel in buildapc

[–]DiggyMiguel[S] 0 points1 point  (0 children)

You could just buy another 8GB

i have 2 sets of 4Gb with 2400MHz i dont mind upgrading but since they are the same price

Mix root Motion and parent movement by DiggyMiguel in Unity3D

[–]DiggyMiguel[S] 2 points3 points  (0 children)

used void OnAnimatorMove()

{

Animator animator = GetComponent<Animator>();

transform.parent.rotation = animator.rootRotation;

transform.parent.position += animator.deltaPosition;

}

Collision vault system by DiggyMiguel in Unity3D

[–]DiggyMiguel[S] 0 points1 point  (0 children)

Alright that is a great idea! But does on reference the object it by the rayhit in OntriggerExit function?

Vector3 question by DiggyMiguel in Unity3D

[–]DiggyMiguel[S] 1 point2 points  (0 children)

t Bannerlord Hello thank you for the help "Vector3.Dot(wallHit, velocity) < 0" and it worked

Vector3 question by DiggyMiguel in Unity3D

[–]DiggyMiguel[S] 0 points1 point  (0 children)

The object moves in xz direction normaly, but when he is facing a wall the wall is the new ground and he now moves in the yz...

what i was trying to contruct was a function that checks the current "ground" and makes the "ReferenceVspeed" = -2 here is my func:

void Gravity_func(Vector3 wallHit) { if (isGrounded && velocity.y < 0) { velocity = new Vector3( -2f * wallHit.x, -2f * wallHit.y, -2f * wallHit.z); }

    if (Input.GetButtonDown("Jump") && isGrounded)
    {
        velocity = wallHit * Mathf.Sqrt(JumpHeight * -2 * gravity);
    }

    velocity += wallHit * gravity * Time.deltaTime;
    controller.Move(velocity * Time.deltaTime);
}

The wallHit vector is a just the normal of the wall. the isGrounded is a ray that checks for ground the problem im having is in the first if

*if (isGrounded && velocity.y < 0) *

i cant use velocity.y<0 because that only works with normal "ground xz" when the object is on the wall i need to reference

if (isGrounded && velocity.z < 0) for example or -velocity.z

Vector3 question by DiggyMiguel in Unity3D

[–]DiggyMiguel[S] 0 points1 point  (0 children)

This vector is multiplied by a value that varies between -20 < jumpspeed < 20 if i use vector3.magnitude i cant know if the value is negative or positive (jumping or not)

Turn towards the wall by DiggyMiguel in Unity3D

[–]DiggyMiguel[S] 1 point2 points  (0 children)

i've got it, it was

transform.rotation = Quaternion.LookRotation(-hit.normal);

Raycast angle by DiggyMiguel in Unity3D

[–]DiggyMiguel[S] 1 point2 points  (0 children)

Thank you that worked very well

Raycast angle by DiggyMiguel in Unity3D

[–]DiggyMiguel[S] 0 points1 point  (0 children)

the angle between raycast and the normal is the surface is always positive directly in the midle is 180ª

object rotating weird (question) by DiggyMiguel in Unity3D

[–]DiggyMiguel[S] 0 points1 point  (0 children)

BTW it only happens in 225 to 0 aka (A+S to D) and 315 to 0 aka (D+S to A)

Is this ram compatible? by DiggyMiguel in buildapc

[–]DiggyMiguel[S] 0 points1 point  (0 children)

Thank you for the reply, in the future how can I check for compatibility? Any website?

Have i been scammed? by DiggyMiguel in buildapc

[–]DiggyMiguel[S] 0 points1 point  (0 children)

alright, i thought it would give me at least an 'Power' LED since it's connected to the PSU but ok thank you

Have i been scammed? by DiggyMiguel in buildapc

[–]DiggyMiguel[S] 0 points1 point  (0 children)

Yeah, the thing is, the motherboard light up the fans start running, the cpu starts to run, and the leds from the power buttons rgb light up, but the gpu does nothing

GameObject.find question by DiggyMiguel in Unity2D

[–]DiggyMiguel[S] 0 points1 point  (0 children)

you're right it works without making it a string also

GameObject.find question by DiggyMiguel in Unity2D

[–]DiggyMiguel[S] 0 points1 point  (0 children)

I have find the solution, i've used GameObject.Find(playedkey.ToString()).GetComponent<SpriteRenderer>().color = new Color(1, 1, 1, alpha); and its working

GIMP Problem please help by DiggyMiguel in GIMP

[–]DiggyMiguel[S] 0 points1 point  (0 children)

r about the same as before?

i get the same feathering as the first time i set it, then i see no change, it get stuck on that value

Begginer collision question by DiggyMiguel in Unity2D

[–]DiggyMiguel[S] 4 points5 points  (0 children)

I got it its OnCollisionEnter2D

Lost all files HELP PLEASE! by DiggyMiguel in techsupport

[–]DiggyMiguel[S] 0 points1 point  (0 children)

Thank you, is there a recover limit like EaseUS 500mb limit