r/Simulated • u/matigekunst • 4d ago
Proprietary Software Here's the twist
Enable HLS to view with audio, or disable this notification
Part of the TouchDesigner POPtober challenge. Works in real-time. (Sorry for the wrong flair, TouchDesigner is not among them yet)
1
u/Mannerheim_Line 3d ago
The collision detection is good. Is it real time? CCD?
1
u/matigekunst 3d ago
Yes real-time:) No, I'm using substepping and the timestep is slightly too small. The spatial hash comes from TouchDesigner
1
u/Mannerheim_Line 3d ago
I don't get it. Do you use spatial hash for collision detection? Do you integrate the system forward yourself?
2
u/matigekunst 3d ago edited 3d ago
Points need to know their distance to their n closest neighbours, but not every point. Hence the spatial hashing. Any collisions are then solved in the substeps
1
u/Mannerheim_Line 3d ago
It might work for a small volume like this but in general hashing is used for the broad phase I guess. What is the cell size that you use for hashing?
1
2
u/Mannerheim_Line 3d ago
Just reminded me of what they could do 15 years ago 4:30 (not real time though)
https://www.youtube.com/watch?v=fdIyAobZWG4