Skip to content
Discussion options

You must be logged in to vote

Yes, you'd either do:

let plane = new Jolt.Plane(...);
let settings = new Jolt.PlaneShapeSettings(plane);
Jolt.destroy(plane);
let shape = settings.Create().Get();

or, if you want to avoid a new, you could use:

let settings = new Jolt.PlaneShapeSettings();
settings.mPlane.SetNormal(...);
settings.mPlane.SetConstant(...);
let shape = settings.Create().Get();

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