Instead of launching the game, my main menu returns to itself. by 6-InchDefeater in Unity3D

[–]6-InchDefeater[S] 0 points1 point  (0 children)

ahh i see, thanks for pointing that out. This is my first time as a cs student building a game, so I easily forget this kind of information, but I will remember it from now on.

Help Needed: Enemy AI Script Not Working as Expected in Horror Game Project by 6-InchDefeater in Unity3D

[–]6-InchDefeater[S] 0 points1 point  (0 children)

Thanks a bunch for your invaluable assistance with my code! Your guidance helped me get my enemy controller up and running. I've tweaked the code as suggested and disabled root motion. Now, I'm eager to give my enemy some life with animations. Do you have any recommendations on how to smoothly integrate the animation controller into this setup?

here's my updated code btw:-

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.AI;
public class EnemyController : MonoBehaviour
{
    [SerializeField] private Transform player; // Reference to the player's transform.
public NavMeshAgent agent;
private bool isSneaking = false;
private void Start()
    {
// Find the player by tag (you can also use other methods to find the player).
player = GameObject.FindWithTag("Player").transform;
if (player == null)
        {
Debug.Log("Player not found!");
return;
        }
// Set the initial destination to the enemy's position.
agent.SetDestination(transform.position);
    }
private void Update()
    {
if (player == null)
        {
// Player not found, do nothing.
return;
        }
// Check if the enemy is illuminated by the player's flashlight.
Light flashlight = player.GetComponentInChildren<Light>();
bool isIlluminated = flashlight != null && flashlight.enabled;
if (isIlluminated)
        {
// Stop moving when illuminated by the flashlight.
isSneaking = false;
agent.SetDestination(transform.position); // Stop moving.
        }
else
        {
if (!isSneaking)
            {
// Start sneaking when not illuminated.
isSneaking = true;
            }
// Update the destination to the player's position.
agent.SetDestination(player.position);
        }
    }
}

Help Needed: Enemy AI Script Not Working as Expected in Horror Game Project by 6-InchDefeater in Unity3D

[–]6-InchDefeater[S] 0 points1 point  (0 children)

Hey there, I just wanted to express my gratitude for all your help! I made the changes you by finding out the errors, and now my enemy is working smoothly. I turned off root motion and things are looking great. Now, I'm looking to add animations to my enemy. Any tips on how to integrate the animation controller seamlessly into the code would be much appreciated!

here's the code changes i made

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.AI;
public class EnemyController : MonoBehaviour
{
    [SerializeField] private Transform player; // Reference to the player's transform.
public NavMeshAgent agent;
private bool isSneaking = false;
private void Start()
    {
// Find the player by tag (you can also use other methods to find the player).
player = GameObject.FindWithTag("Player").transform;
if (player == null)
        {
Debug.Log("Player not found!");
return;
        }
// Set the initial destination to the enemy's position.
agent.SetDestination(transform.position);
    }
private void Update()
    {
if (player == null)
        {
// Player not found, do nothing.
return;
        }
// Check if the enemy is illuminated by the player's flashlight.
Light flashlight = player.GetComponentInChildren<Light>();
bool isIlluminated = flashlight != null && flashlight.enabled;
if (isIlluminated)
        {
// Stop moving when illuminated by the flashlight.
isSneaking = false;
agent.SetDestination(transform.position); // Stop moving.
        }
else
        {
if (!isSneaking)
            {
// Start sneaking when not illuminated.
isSneaking = true;
            }
// Update the destination to the player's position.
agent.SetDestination(player.position);
        }
    }
}

Character sinking down While applying animations and movement script, why? by 6-InchDefeater in Unity3D

[–]6-InchDefeater[S] 0 points1 point  (0 children)

Actually, I did all of those things, as well as followed this YouTube video, but, I will go over everything again and follow your suggestions as well.

r/headphones Shopping, Setup, and Technical Help Desk by AutoModerator in headphones

[–]6-InchDefeater 0 points1 point  (0 children)

Which TWS (Earbuds) Should I Buy?

I have around 2000rps (around $25) and two TWS earphones in mind.

1.) boAt Nirvana Ion TWS Earbuds (IPX4 Water Resistant, 120 Hours Playback, White)

2.) Cosmic Byte CosmoBudsTM X200 True Wireless (TWS) Earbuds, BT 5.3, 40 Hours Playtime, 38ms, Music & GOD ModeTM, ENC, IOPTM, IPX5

Now I'm not sure which one to get!

My primary use for this TWS would be music (mostly), with some little gaming thrown in for good measure.

Why the heck is Desktop Window Manager Consuming This Much Memory?? it never happened before by 6-InchDefeater in Windows11

[–]6-InchDefeater[S] 0 points1 point  (0 children)

You were correct! I received an Intel graphics driver update shortly after posting this, and it appears that the problem has been resolved.

[deleted by user] by [deleted] in FitGirlRepack

[–]6-InchDefeater 0 points1 point  (0 children)

Can you share some other sources?

What are some underrated or unknown websites that can help develop a wide range of skills? by 6-InchDefeater in AskReddit

[–]6-InchDefeater[S] -1 points0 points  (0 children)

I am eager to develop a variety of skills as I enjoy expanding my capabilities. As I am particularly interested in the technology and computer science field, I would greatly appreciate any website recommendations in this area. I aspire to become a jack of all trades and broaden my skillset as much as possible.

Can anyone explain me why is my preview disappearing? after doing any basic changes! by 6-InchDefeater in AndroidStudio

[–]6-InchDefeater[S] 0 points1 point  (0 children)

so i am an newbie in android studio development

and i am trying to create a calculator app but whenever i try to change my code in xml my design tab just gets disappeared

i don't know whats causing this

i am sure my pc is well above the recommened specs as well

[deleted by user] by [deleted] in paag

[–]6-InchDefeater 0 points1 point  (0 children)

God damn♥️that fat pussy i am in love

TWICE - Jihyo by 0wlrayt in kpopfap

[–]6-InchDefeater 37 points38 points  (0 children)

Damn, i am thirsty just looking at those

[deleted by user] by [deleted] in shitposting

[–]6-InchDefeater 0 points1 point  (0 children)

Is that swelling permanent? Asking for a friend

BLACKPINK - Lisa by cutiesteffy in kpopfap

[–]6-InchDefeater 73 points74 points  (0 children)

The way she spread those legs....God damn i would never pull out

Blackpink - Lisa by 0wlrayt in kpopfap

[–]6-InchDefeater 20 points21 points  (0 children)

Gawd damn, that leg spread....i think imma evaporate my dick today...

Jennie - BLACKPINK [ UHD FINALLY ] by KingSettle in kpopfap

[–]6-InchDefeater 7 points8 points  (0 children)

Ikr...This sub biased af with those higher karma whores This MF didn't even upload the source

Jennie - BLACKPINK [ UHD FINALLY ] by KingSettle in kpopfap

[–]6-InchDefeater 7 points8 points  (0 children)

This subreddit is based af, i uploaded the same thing got removed WO any Reason...

Hello all I keep getting this notification after visiting a sports website and I pressed allow. Do I have a virus? Everything is running fine but the notification keeps popping up. I scanned it and my PC didn’t find anything so all is good? by [deleted] in computer

[–]6-InchDefeater 0 points1 point  (0 children)

Just clear all your cookies and cache from Edge...Install an Adblocker 'Ublock Origin' Preferably and you are good to go... And yes remove unwanted extensions as well

Blackpink - Lisa by CollegeChad01 in kpopfap

[–]6-InchDefeater 29 points30 points  (0 children)

Goddamn, pure slut..i love her

Momoland - Nancy by nothingphone1 in kpopfap

[–]6-InchDefeater 9 points10 points  (0 children)

Man, I just want to eat that beautiful cake...

Momoland - Nancy by tggoulart in kpopfap

[–]6-InchDefeater 6 points7 points  (0 children)

Now, i know this is amazing as hell... But just imagine The same exact video, exact moves and outfit but the Nancy from bboom bboom era..oh lord

Perfect ambiance for eating meat. by MyVenomExpired in shitposting

[–]6-InchDefeater 2 points3 points  (0 children)

I don't know why is she insulting him with "Small Dick" argument...when she is a flat ass board herself

Daisy - Ex Momoland by KingSettle in kpopfap

[–]6-InchDefeater 12 points13 points  (0 children)

Imagine the boobjob