Skip to content
Discussion options

You must be logged in to vote

I would expect the following to work (untested):

const objectVsBroadPhaseLayerFilter = joltInterface.GetObjectVsBroadPhaseLayerFilter();
const objectLayerPairFilter = joltInterface.GetObjectLayerPairFilter();

const objectLayer = backend.Jolt.ObjectLayerPairFilterMask.prototype.sGetObjectLayer(group, mask);

const bpFilter = new Jolt.DefaultBroadPhaseLayerFilter(objectVsBroadPhaseLayerFilter, objectLayer);
const objFilter = new Jolt.DefaultObjectLayerFilter(objectLayerPairFilter, objectLayer);

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