remove collision engine footgun
This commit is contained in:
parent
f2c0a799e9
commit
dcbe1aa4bc
@ -2080,6 +2080,7 @@ Pathing construction between town buildings and road nodes
|
|||||||
Pathing construction for farm plots
|
Pathing construction for farm plots
|
||||||
Bounding sphere work
|
Bounding sphere work
|
||||||
Don't allocate contact joints for geom-geom
|
Don't allocate contact joints for geom-geom
|
||||||
|
Remove potential collision engine footgun
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -355,15 +355,6 @@ public class CollisionEngine {
|
|||||||
Globals.profiler.endCpuSample();
|
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.
|
* This is called by dSpaceCollide when two objects in space are potentially colliding.
|
||||||
* @param data The data
|
* @param data The data
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user