#please show the full scripts in a paste

1 messages · Page 1 of 1 (latest)

balmy abyss
#

oh

#

is this like a private thing?

#

collider for trash model

#

it also has a collider but its not a trigger

#

but this works for everything that has an trigger

rich condor
#

hey

balmy abyss
#

hi

rich condor
#

i said this here

#

it doesnt show up?

balmy abyss
#

no

rich condor
#

any errors?

balmy abyss
#

nope

rich condor
#

show the inspector of the text please

balmy abyss
rich condor
#

enable the textmeshprougui and disable the gameobject instead please

#

and make sure you replaced all .enabled with SetActive for the text

balmy abyss
#

ok i enabled it but what game object?

#

the canvas?

rich condor
#

the text

#

do you know what that means

balmy abyss
#

like this?

rich condor
#

yeah

balmy abyss
#

ok now it appears tho when u press E

#

same problem

rich condor
#

can you show a video of what's happening. I mainly want to see the console, scene/game view, and the inspector of the text

#

and show me your updated script

balmy abyss
#

idk how to disable the microphone so expect a lot of background noise

rich condor
#

you can use sharex

rich condor
#

okay, show me your script now?

balmy abyss
#

ok

rich condor
#

it's weird. judging from the console, it's like it exits and reenters at the same time

balmy abyss
#

trigger problem?

#

but it shouldnt be

#

beacuse we enable canTrigger

rich condor
#

what are you doing to the trash when you press E

balmy abyss
#

so it shouldnt register

balmy abyss
#

inside the char

rich condor
#

i suspect it's colliding with another collider that's on the character

balmy abyss
#

is it the character controller?

rich condor
#

no.. character controller uses a different message, not OnTrigger

balmy abyss
#

oh ok

rich condor
#

can you show me your character's hierarchy and all the character's children with colliders on them?

#

a video if you want it easier

balmy abyss
#

if i record whit what i use Windows + G i can only make videos of about 4 secs

rich condor
#

I see

balmy abyss
#

1 sec wait

#

back

#

do i just screenshot?

rich condor
#

sure

#

i just need more context

balmy abyss
#

and thats it

#

the rest are mesh rendereres or sum

rich condor
balmy abyss
#

ok

rich condor
#

after the line trashObj.GetComponent<Rigidbody>().isKinematic = true;
can you also add something like
trashObj.GetComponent<Collider>().enabled = false;

balmy abyss
#

i did

#

same thing

#

btw one thing i forgot to mention

#

since i made it so u can press E

#

like how many times u want

#

if u press twice

#

it dissapears

#

so it is a collision glitcch or something

rich condor
#

i dont think so

#

i think it's your booleans

#

you have too many, it's confusing

balmy abyss
#

well idk how to make it better

rich condor
#

i'm not sure either. I have to go now, sorry I couldn't help

balmy abyss
#

its okay

balmy abyss
#

@rich condor i found the problem, i made a new character for nothing but i found out that the triggers interacted whit the character

#

beacuse they were touchhing the sphere thing