remove collision engine footgun

This commit is contained in:
austin 2025-05-30 15:11:15 -04:00
parent f2c0a799e9
commit dcbe1aa4bc
2 changed files with 1 additions and 9 deletions

View File

@ -2080,6 +2080,7 @@ Pathing construction between town buildings and road nodes
Pathing construction for farm plots
Bounding sphere work
Don't allocate contact joints for geom-geom
Remove potential collision engine footgun

View File

@ -355,15 +355,6 @@ public class CollisionEngine {
Globals.profiler.endCpuSample();
}
/**
* Sets the near callback function for all collision calls.
* !!YOU LIKELY WANT TO INSTEAD OVERWRITE THE CollisionResolutionCallback!!
* @param callback the callback
*/
public void setNearCallback(DNearCallback callback){
this.nearCallback = callback;
}
/**
* This is called by dSpaceCollide when two objects in space are potentially colliding.
* @param data The data