Home Artists Posts Import Register

Content

Cutting ropes or wires with physics on was a surprising PAIN IN THE ASS to figure out. After trying other methods for a week and screwing up a ton with them or hating how they were done, I retreated back to Gravity Collider to figure out my own way that reduced the amount of steps it'd take. SUCCESS! (Also with lots of cinematic control if needed)

With the help of Min, we were able to figure out a nice method for imported wires and cutting them. 

. Import wire mesh from UE4 and subdivide if you need to so it bends better 

. Cut area you want . Rig armature up to cut area. (I suggest subdividing a big bone on each  side then moving the bones to match the wire) 

. Use envelope weights for auto-armature deform 

. Gravity Collide! (It should automatically recognize the parent bones of each side) 

. "New Edge/Face From Vertices" at the cut area on the Gravity Collider  boxes to connect them. 

. Adjust tension stiffness and tension dampening to zero to cut the  area! Stiffness connects the boxes using the wire and dampening slows  them from coming apart.  (Also, you can use shrink factor found under 'Shape' in physics to tighten or loosen the wiring)

The reason this works, at least how I think it does, is because there technically are no edge wires on Gravity Collider. It's all vertices that connect the boxes. So with the added edge wire at the cut area,  it's the only thing for tension to focus on!

Will release this vid probably after Beidou is done using this method for all the hanging wires. 

I plan to do one on destruction too but that has been ever unpredictable on choosing a consistently right method that's compatible with regular physics. (Currently physics stuff only collides with destruction after its lost its clustering. Which is... odd. Might have to keep boxes and such as body collision rather than first hit affecting anything like planned. Also might have to cut up buildings rather than fully remake them to save great amounts of performance)

Files

Gravity Collider Wire Cut Test

With the help of Min, we were able to figure out a nice method for imported wires and cutting them. . Import wire mesh from UE4 and subdivide if you need to so it bends better . Cut area you want . Rig armature up to cut area. (I suggest subdividing a big bone on each side then moving the bones to match the wire) . Use envelope weights for auto-armature deform . Gravity Collide! (It should automatically recognize the parent bones of each side) . "New Edge/Face From Vertices" at the cut area on the Gravity Collider boxes to connect them. . Adjust tension stiffness and tension dampening to zero to cut the area! Stiffness connects the boxes using the wire and dampening slows them from coming apart. The reason this works, at least how I think it does, is because there technically are no edge wires on Gravity Collider. It's all vertices that connect the boxes. So with the added edge wire at the cut area, it's the only thing for tension to focus on!

Comments

No comments found for this post.