Skip to content
Discussion options

You must be logged in to vote

It is returning [Value] which means internally it keeps memory that it reuses every time you call the function:

[Value] Vec3 GetWorldSpaceSurfaceNormal([Const, Ref] SubShapeID inSubShapeID, [Const, Ref] RVec3 inPosition);

You don't need to free it.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@LeXXik
Comment options

Answer selected by LeXXik
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants