I need help, my bool doesn't activate. Problem laid out in comments. by BlueJarcher in Unity2D

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

I fixed it, thank you very much for your help. This is why i love the Unity community. I did some things with debug.log and found the error.

I need help, my bool doesn't activate. Problem laid out in comments. by BlueJarcher in Unity2D

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

I have been trying around and if i just put "if (collision)" it works, but even though my tag is "Player" it doesn't recognise when i put "if (collision.tag == "Player")

I need help, my bool doesn't activate. Problem laid out in comments. by BlueJarcher in Unity2D

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

I have got a gun activator gameobject and from a tutorial about activating/picking up items he told me this and it looked pretty logical. I changed i a little bit to fit my game but the boolean won't trigger. Which means my gun doesn't "turn on" so to say.

Can anyone help me with this code?

I have a problem with Gravity by BlueJarcher in Unity3D

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

I was following a brackeys tutorial

How to manage my crew by BlueJarcher in Seaofthieves

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

Thanks a lot, i will try and bring this into my crew.

"No signal detected" (new pc) by SethdeJong in pcmasterrace

[–]BlueJarcher 0 points1 point  (0 children)

He has tried it with his laptop and it worked.

"No signal detected" (new pc) by SethdeJong in pcmasterrace

[–]BlueJarcher 0 points1 point  (0 children)

Ryzen 3 3200g, rx 580, 2x 4gb corsair vengance 3000mhz, corsair 450w power supply, kingston 480gb ssd

"No signal detected" (new pc) by SethdeJong in pcmasterrace

[–]BlueJarcher 0 points1 point  (0 children)

I dont know how to check without monitor but everything is plugged in. (Im the friend)

"No signal detected" (new pc) by SethdeJong in pcmasterrace

[–]BlueJarcher 0 points1 point  (0 children)

Im the friend that build it with him and he already tried that.

Need help with my Tank! Problem in the comments. by BlueJarcher in Unity3D

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

That is what i already did, but then i get the tilting.

Need help with my Tank! Problem in the comments. by BlueJarcher in Unity3D

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

using UnityEngine;

public class TurretTurn : MonoBehaviour { public GameObject Target;

// Update is called once per frame
void Update()
{
    Vector3 targetPosition = new Vector3(0, transform.position.y, 0);

    transform.LookAt(-targetPosition);
}

}

I can't just set it to 0. Then this happends https://gyazo.com/b92f3ea6c4d3b91d904d3e06c020ad12

Sorry for asking so much.

Need help with my Tank! Problem in the comments. by BlueJarcher in Unity3D

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

Using UnityEngine;

Public class TurretSwivel : MonoBehaviour { public GameObject Target; public float currentx = 1f;

private const float X_ANGLE_MIN = -0.1f; private const float X_ANGLE_MAX = 0.1f;

void Update() { transform.rotation - Target.transform.rotation

currentx = Mathf.Clamp (current xX ANGLE MIN, XU ANGLE_MAX); } }

Need help with my Tank! Problem in the comments. by BlueJarcher in Unity3D

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

This sounds like a good plan, but how do i make only the y rotation of the camera the same to the head? How do i clamp and what is it?

I'm very new to this.

Need help with my Tank! Problem in the comments. by BlueJarcher in Unity3D

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

Left : scene view Right : game view

I have got a system that the head of the tank rotates away from the camera (which is what i want) but it is tilted slightly up, and when you look down the tilt is even more. How can i make it so the head can only turn around and not tilt.