- Home /
Generate collider on click, then destroy on release.
Hey guys, who want's a challenge? XD I'm making a prototype for a fashion design program, that uses live interactive cloth and as I can't interact with the cloth's vertices individually I want to generate a small, spherical collider on click at the raycast's location, and assign it to the interactive cloth's "attach to collider" function. I've tested using tiny colliders to move the cloth that can be dragged around by the raycast, and that works great, but it involves having loads of tiny invisible spheres. What I need is a way to generate a collider when you click, so that fabric can be interacted with, then when the mouse button is released, the collider vanishes.
A shiny gold doubloon to any man who finds the answer! Thanks a bunch in advance :D Doug
Your answer
Follow this Question
Related Questions
How to use a Raycast to see the distance traveled within a collider. 2 Answers
Move player to specific location and avoid obstacle. 2 Answers
Im trying to create a word game with a twist 0 Answers
Raycast not detecting ANY HITS AT ALL when starting inside a collider. 0 Answers
ball sometimes goes through the bat when hit... collider problem... How to do a Raycast? 0 Answers