Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
1.0.0:physics [2023/03/16 08:58] – [Example] admin | 1.0.0:physics [2023/03/16 09:00] – [Override Collider-Registration] admin | ||
---|---|---|---|
Line 342: | Line 342: | ||
// Add a sphere collider for each instance with the maximum size of a side as radius | // Add a sphere collider for each instance with the maximum size of a side as radius | ||
+ | // or use another internal registration method, like DoAddBoxCollider, | ||
DoAddSphereCollider(AData, | DoAddSphereCollider(AData, | ||
LTransform, Max(ASize.X, | LTransform, Max(ASize.X, | ||
end; | end; | ||
</ | </ | ||
+ | |||
+ | When you have declared this kind of helper class in your unit, the TGorillaPhysicsSystem component will then show you a new method to be callable " | ||
+ | |||
Next step: [[fmodaudio|FMOD Audio]] | Next step: [[fmodaudio|FMOD Audio]] |