Gday all,
I have the following script (extract) which is being run on an aircraft (_visualObj and _unitToTrack are both the same type of vehicle, _unitToTrack is occupied, _visualObj is empty)
{
_visualObj disableCollisionWith _x;
} forEach allUnits;
_visualObj disableCollisionWith _unitToTrack;
_unitToTrack disableCollisionWith _visualObj;
_unitToTrack allowDamage false;
_visualObj allowDamage false;
_visualObj enableSimulation false;
...
..
...
_visualObj setPos _posToSet;
When _posToSet is near _unitToTrack, they are colliding and exploding, regardless of the fact that collisions and damage is disabled.
The command should work as I have tried walking through a plane on the ground with the above and it is all good, but when AI or myself flies with the above code, we still collider with the _visualObj.
1. Why is this occurring??
2. Is there a way around this?
It seems to be quite strange behaviour...