Check Out This Bifrost Collider Deformer

Jason Labbe shows off a collider deformer entirely made with Maya Bifrost.

While Maya doesn’t per se have a collision deformer, there are a few tools out there that provide a simple solution to one. Most notably, Brave Rabbit, iCollide, lets you create a collision effect with running sims.

You can also make your own with nodes and matrix math. A recent endeavor and demonstration by Jason Labbe shows off his collider deformer that he created using Maya’s Bifrost. “I initially developed this deformer in Python and was dreading having to port it to c++ and make it GPU friendly, so I made myself a challenge to see if I could convert it fully Bifrost,” Jason says.

“Right now to detect if a point is inside a mesh, I’m using rays. In a nutshell, if the ray’s total hits are odd, then the point is inside the mesh; otherwise, it’s outside. Since Bifrost’s native raycast only returns you the first hit, I used a while loop to get all possible intersections, like mimicking MFnMesh’s allIntersections.”

Check out the video for proof of concept and the Bifrost forum post for more details in the thread.

Some of the links on lesterbanks are "affiliate links", a link with a special tracking code. This means if you click on an affiliate link and purchase the item, we will receive an affiliate commission. The price of the item is the same whether it is an affiliate link or not. Regardless, we only recommend products or services we believe will add value to our readers. By using the affiliate links, you are helping support our Website, and we genuinely appreciate your support.