Jump to content
🛡️FORUMS ARE IN READ-ONLY MODE Read more... ×
xjoker_

Store/pick up items in a container with simulation disabled ?

Recommended Posts

Hello, 

 

In my mission, i have to spawn crates inside some buildings at a specific position. 

To have the exact position and to be sure that they won't move, I use enableSimulation false on my crates. 

The problem is that when the simulation is disabled, i can't use the crate's inventory anymore.

 

Do you know how I could fix that ? 

Share this post


Link to post
Share on other sites

You could try attachTo command, that also prevents them from moving

  • Like 1

Share this post


Link to post
Share on other sites
3 hours ago, xjoker_ said:

Yeah, but attachTo disable collisions 

No it doesn't. AI will sometimes walk through attached objects, but a player can't. No one can shoot through them, either.

  • Like 1

Share this post


Link to post
Share on other sites

×