Undeceived 392 Posted March 9, 2017 Hi guys! Simply asked: Is there a way to prevent this? :D How can I enable collision for the container so that it doesn't go through walls or other objects? Thanks a lot! Share this post Link to post Share on other sites
Midnighters 152 Posted March 9, 2017 I suppose you can use: enableCollisionWith Share this post Link to post Share on other sites
Undeceived 392 Posted March 9, 2017 Unfortunately the at first promising command didn't do anything. Even with named and editor-placed objects it didn't work. Unless I did something terribly wrong. Any other ideas? Or is it maybe somehow possible to widen/extend the "collision area" of the player himself? Let's say about 2 meters so that he would stop if he approaches a wall by 2 meters. Would look like the container colliding with the wall . Share this post Link to post Share on other sites
bloodwyn1756 130 Posted March 9, 2017 Yes it is possible to widen the collision area (geo LOD) of the player with an add-on, but you need quite some modding experience for that. A better way would be to detect, if the two objects are colliding and adjusting the coordinates of the attachTo to prevent it. But thats also much work :) Share this post Link to post Share on other sites
Undeceived 392 Posted March 9, 2017 Well, I don't have that experience unfortunately. :D That's sad, I thought (hoped) that there would be an relatively easy way for it. Thanks anyway! Share this post Link to post Share on other sites
Midnighters 152 Posted March 9, 2017 What about the EpeContactStart Event handler? Share this post Link to post Share on other sites
killzone_kid 1330 Posted March 10, 2017 Attachto removes collision from attached object and there is nothing you could do about it at the moment. Unfortunately workaround is rather complicated Share this post Link to post Share on other sites
Undeceived 392 Posted March 10, 2017 Thanks, @killzone_kid. Do you think this will change anytime? Share this post Link to post Share on other sites
serena 151 Posted March 10, 2017 Undeceived, what is the chance to meet a dinosaur on the street? XD 2 Share this post Link to post Share on other sites
Undeceived 392 Posted March 10, 2017 Well, I just asked this knowing that kk has a rather closer contact to BI and deeper scripting insight than many here. Ignoring this fact it was indeed a silly question. Anyway, as he liked your post, I know the answer. Too sad... Share this post Link to post Share on other sites
serena 151 Posted March 10, 2017 Undeceived, why so hopeless? The chance to meet a dinosaur is pretty good, 50/50: either meet or not XD 1 Share this post Link to post Share on other sites
Undeceived 392 Posted March 10, 2017 Let's get back to editing, shall we? Share this post Link to post Share on other sites
Tankbuster 1746 Posted March 10, 2017 Serena, have you started on the gin early this evening? :D @Undeceived, you could sense when the attached object crosses other object surfaces using lineIntersectsSurfaces. It would be a terrible faff to get working - I suspect the effort to make it work would outweigh the benefit unless you have a whole project that depends on it. Share this post Link to post Share on other sites
serena 151 Posted March 10, 2017 1 hour ago, Undeceived said: Let's get back to editing, shall we? 1 hour ago, Tankbuster said: Serena, have you started on the gin early this evening? :D I'll look at you guys when BI officially announces that they are working on a brand new engine for Arma IV with superphysics for attached objects. P.S. About editing. Interior interaction script in my signature allow to move and stack objects. Сan be useful. 1 Share this post Link to post Share on other sites
Undeceived 392 Posted March 11, 2017 8 hours ago, Tankbuster said: Serena, have you started on the gin early this evening? :D @Undeceived, you could sense when the attached object crosses other object surfaces using lineIntersectsSurfaces. It would be a terrible faff to get working - I suspect the effort to make it work would outweigh the benefit unless you have a whole project that depends on it. It*s not a whole project, but I use the container in a mission of a new campaign. I'll see if I can do anything with lineIntersectsSurfaces, thanks for the hint. Quote I'll look at you guys when BI officially announces that they are working on a brand new engine for Arma IV with superphysics for attached objects. P.S. About editing. Interior interaction script in my signature allow to move and stack objects. Сan be useful. Maybe the Orange DLC will be exactly that!! Ok, I'll check out your sig too - cheers. 1 Share this post Link to post Share on other sites