You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
YYDan
changed the title
Add the ability to generate a physics collision shape from a given sprite at runtime
In-Game: Add a function for generating a physics collision shape from a given sprite
Mar 6, 2025
This function is used to generate the points of a convex hull for the given sprite. You supply a sprite index (which can be an asset added through the Asset Browser or a sprite added at runtime) and the function returns an array of reals defining the points of the convex hull.
Is your feature request related to a problem?
Requested by GX team for their physics sandbox
Describe the solution you'd like
Add a function that will take a sprite and a complexity parameter and generate a physics collision shape from it.
NB. we should then backport this functionality to the IDE once it's working well at runtime
Describe alternatives you've considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: