Hi, it’s a question where I look for a way to reproduce similar physical behavior like in slashers (Fruit Ninja, for example). I see this by dividing the functionality onto next list:
Controlling VR controllers like swords/katanas and getting event of slashing object (fruits) with them
Slicing object (fruit) on 2 parts with their next logic of flying away from the slash move with gravity
If you have exact features - please, tell me what I should look at. If your have docs about wht I’m looking for - share it with me pls. And if you have examples - it would the best option
Checking the “depth” of the slash on a fruit-- rather than just if the slash happened-- will be a fun engineering question. Do you need the path of the slash on the fruit? Or could you instead time the contact between the sword and the fruit?
For experiments I created a line of cubes and a pen, that moves from side to side on a mouse clicking. But for now, cuz both a cube and a pen have a mass, they don’t intersect but collide and move away outta each other. And if I set a mass of any of it as 0, then this object won’t move on applyForce or applyImpulse. Even if to set a mass as 0, objects will collide, but not intersect. What to do in this case?
BTW, I didn’t find any other method to move an object with a constant velocity, is there such methods?