Probably Obi Bone cant, so i will do it by script
By script doent help because my creature needs to grow...
Can Obi Bone (or Obi Rope) wrap a small skinned character around a moving skinned enemy in real time? Unity 6.6, 2.5D side-scroller.
Setup: the player is a worm about 17 cm long and 3 cm thick, a skinned mesh with ~30 bones. The enemies are skinned monsters, 20 to 40 cm tall, so the worm is roughly the size of the enemy's neck or limb. Everything is currently code-driven: I place each bone every frame, and gameplay needs the pose to be deterministic.
What I want: while the player holds a button, the worm grips the enemy and coils around a body part (neck, arm, leg), like an anaconda, with the head raised and ready to strike. The loops should conform to the enemy's surface instead of clipping through it. The enemy keeps moving and animating, so the worm should follow it. When the player releases the button, it should blend back to my normal code-driven pose.
My questions:
1. Is Obi Bone the right tool for this, or Obi Rope? Can a skinned mesh be simulated while the coil is active and then return to my own pose?
2. Can particles collide properly with an animated SkinnedMeshRenderer or a moving capsule? Do I need ObiColliders on every limb, or is there a better approach for animated characters?
3. At this scale (17 cm worm, thin body), which solver settings matter most for stable wrapping (collision margin, sub-steps, particle radius)? Is the worm too short relative to its thickness to make several stacked loops look good?
4. Is it safe to enable the simulation only during the coil and blend in and out? I have seen reports of NaN or exploding bones with fast rotations. Was that fixed in 7.1.1 or later, and does it work on Unity 6.6?
5. Would you recommend this over building a procedural helix and placing the bones myself?
Any experience with something similar (a snake wrapping a character, a constrictor, a tentacle) would help a lot. Thanks!
By script doent help because my creature needs to grow...
Can Obi Bone (or Obi Rope) wrap a small skinned character around a moving skinned enemy in real time? Unity 6.6, 2.5D side-scroller.
Setup: the player is a worm about 17 cm long and 3 cm thick, a skinned mesh with ~30 bones. The enemies are skinned monsters, 20 to 40 cm tall, so the worm is roughly the size of the enemy's neck or limb. Everything is currently code-driven: I place each bone every frame, and gameplay needs the pose to be deterministic.
What I want: while the player holds a button, the worm grips the enemy and coils around a body part (neck, arm, leg), like an anaconda, with the head raised and ready to strike. The loops should conform to the enemy's surface instead of clipping through it. The enemy keeps moving and animating, so the worm should follow it. When the player releases the button, it should blend back to my normal code-driven pose.
My questions:
1. Is Obi Bone the right tool for this, or Obi Rope? Can a skinned mesh be simulated while the coil is active and then return to my own pose?
2. Can particles collide properly with an animated SkinnedMeshRenderer or a moving capsule? Do I need ObiColliders on every limb, or is there a better approach for animated characters?
3. At this scale (17 cm worm, thin body), which solver settings matter most for stable wrapping (collision margin, sub-steps, particle radius)? Is the worm too short relative to its thickness to make several stacked loops look good?
4. Is it safe to enable the simulation only during the coil and blend in and out? I have seen reports of NaN or exploding bones with fast rotations. Was that fixed in 7.1.1 or later, and does it work on Unity 6.6?
5. Would you recommend this over building a procedural helix and placing the bones myself?
Any experience with something similar (a snake wrapping a character, a constrictor, a tentacle) would help a lot. Thanks!
