getData<T> method
T?
getData<T>()
Get the user data pointer associated with this pair of colliding objects.
Implementation
T? getData<T>() {
var q = _sh_data[_toPointer.address];
if (q != null) {
return q as T;
} else {
return null;
}
}