23-11-2020, 09:05 AM
(This post was last modified: 23-11-2020, 09:05 AM by josemendez.)
(21-11-2020, 10:50 AM)arkanis Wrote: I can think of a couple ways to solve this for myself. In your opinion would it be better to actually write something that uses groups and checks distance and attempts to constrain their movement by altering some of your built in properties, or would it be best to use a simple approach by using dynamic particle attachments to a couple of trigger colliders and fixed joint them together on collision?
Thanks!
Each has its benefits/drawbacks:
- Directly constraining particle groups. pros:more efficient, does not involve rigidbodies. cons: it's harder to write.
- Using dynamics attachments/rigidbodies: pros: simpler, you can deal with rigidbodies directly so if you're comfortable with them it will simplify things. cons: less efficient, more complex (from the solver's pov).