#Barricade door not working!

88 messages · Page 1 of 1 (latest)

craggy tulip
#

Hello,

I have been destroying my head over how to port barricade doors. Not only does mine not fit in a proper slot (even when I made it smaller, had to remedy by making a blank slot that I can use to place). It also just... wouldnt give me the prompt to press F to open it.

Nothing in client.log. Absolutely empty.

#

If you need any specific info, do tell, but I dont want to flood the chat with just screenshots

#

Everything except Placeholder and Target are tagged and layered Barricade

open rune
#

Have a look at the other door examples.

craggy tulip
open rune
#

I believe so.

craggy tulip
#

Alright ill have a go ahead at renames

open rune
#

Did you check the Door example?

craggy tulip
#

Because the structure is different

#

Oop this shows up now

#

cant click it but it does

open rune
#

Make the whole structure the same.

craggy tulip
#

I use a lot more than 1 bone

#

jail door ^

#

Mine

#

No other examples of barricade doors by the way

open rune
#

This was a problem before.

#

Who was that guy that made that sliding hangar door?

craggy tulip
open rune
#

I recall this same exact problem.

open rune
#

Not that one.

#

InteractableObjectBinaryStateEventHook

craggy tulip
open rune
#

oh wait, ur right, dang it

craggy tulip
#

Not for barricades

#

Uhm

#

I can now trigger it

#

For some reason

open rune
#

So it works now?

#

Also might help to restart the game to make sure.

craggy tulip
#

I /reload along the way

#

But I still cant place it on my door frame :(

#

Eh

#

ill figure something out somehow

quick stirrup
#

@craggy tulip right so basically all parts of barricades are linked by code, just like in animals, the bone structures have to be identical

#

you get around this by keeping the vanilla bone structure with hinge and target and rigging these (constraints) to a custom made sekeleton that your own door uses

craggy tulip
#

The issues I currently have is how some places in the collider I can trigger the animation, and some I can’t, and it keeps saying blocked, but I’ll try this

quick stirrup
#

the hinge, which has a target gameobject, is the only one that's supposed to trigger animations

#

afaik that's the only interactable part

craggy tulip
#

For some weird reason, even though I can see the prompt to close it on this outside panel, and I can even salvage from looking at the panel, it wont let me close it

#

or open it from this outside bit

#

But it does from the inside

quick stirrup
#

target is where the text shows up, the hitbox of the hinge is the area you can interact with

#

i dont think it supports more than 1 collider

craggy tulip
craggy tulip
quick stirrup
#

yeah try it, maybe it works

#

make sure it's on the actual hinge gameobject, not a child gameobject, just to be safe

craggy tulip
#

And also, how are the hitboxes decided when you place the object?

#

It always says blocked, but im not sure how I can fix that. It wont place in the position I want it to be in

quick stirrup
#

object or barricade?

craggy tulip
#

barricade door

#

As in, it always says "blocked" when I place it in a certain direction... even though anything tagged "barricade" isnt conflicting with anything

#

Other stuff tagged and layered "medium" or "vehicle" collides with stuff, but thats the point

quick stirrup
#

not sure

#

i dont have a lot of experience with barricades

craggy tulip
#

I can even interact with stuff tagged "vehicle" to open it but only when its close enough to the properly working activator

#

And ya they're on a mesh collider

quick stirrup
#

radius from the center of the barricade or from target?

#

try moving the target to the side

#

if it works, we can go from there

craggy tulip
#

same outcome

#

Cant click it to open it, everywhere else works

#

Heres my hierarchy

#

^Hinge