unity-movement-ai icon indicating copy to clipboard operation
unity-movement-ai copied to clipboard

the CollisionAvoidSensor get wrong position with the ScreenBoundary

Open kwanggaeto opened this issue 3 years ago • 0 comments

the CollisionAvoidSensor get wrong position when a Unit reach a boundary and reposition the opposite side.

you should fix the "KeepInBound" method which is in the ScreenBoundary script. set the new position to the Rigidbody instead of the Transform.

kwanggaeto avatar Jul 18 '20 12:07 kwanggaeto