Jump to content

[LE] Can anyone help me with a collision issue?


SkyTaylor21

Recommended Posts

I'm trying to make an area that requires you to go into sneak mode in order to go under the obstacle. The only thing is, when you go into sneak mode, the collision is still the same so you can't sneak under the obstacle. Is there any way to disable collision on the mesh but still make the character to enter sneak mode to get under it?

Link to comment
Share on other sites

The game doesn't resize player collision when they duck unfortunately. U'd have to work around that somehow.
Maybe a triggerbox to detect the player animation event for ducking when they're close, disable a model with collision, swap in model without collision, then swap back out when the player is outside that triggerbox.

Link to comment
Share on other sites

  • 3 years later...

Fake it maybe. Have a triggerbox on one side of the obstacle. If you go into sneak while inside it while facing the hole you are moved to the other side. I think it would take 2 cells that only look like they have a passage between because you can't teleport within a cell.

 

Or maybe make a wall piece with no collision and an invisible barrier (just edit a wall to have the null texture set) that gets disabled if you are sneaking.

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...