|
I’ve seen a few tutorials to get my tennis net act somewhat like a real net using ncloth. very easy.
But how do i get my ball act as a real tennis ball, since it has to be a passive object, to collide with the ncloth, i cannot add gravity to it, nor bounce that the gravity can do.
Any idea how i can go about doing this?
Thanks and kind regards,
popfuse
|
|
|
|
One technique would be to take a single triangle or quad( less than half the width of your ball ) and make it nCloth. Turn off self collide and make the collide method vertex. Set the collide thickness to about the size of your ball ( set the solver display to collide thickness to preview ). Use the parentToSurface script to attach your actual ball geometry to the cloth triangle:
http://area.autodesk.com/for...parent_to_surface_script/
Use groundplane collisions on the nucleus node( not a plane object ) and make the bounce on the nucleus and the nCloth nodes both 1.0.
To launch the ball you could create a directional field with bounds, or a volume axis field, applied to the triangle nCloth.
Another method might be to use a rigid body for the ball, but setup a standard passive surface( with low bounce ) just beyond the net to stop the rigid body. The nCloth net will not push back on the rigid body, but it could look OK if you let the rigid push into the net a bit by having a low bounce object just beyond the net.
Duncan
|
|
|
|
Hi..
I feel that both Ball and net could be active ncloths. and drive the ball cloth with force fields. with the ball cloth’s rigidity set to be a positive value over 3(depends on ur scene scale!) and few other settings actually works for a good sim. I tested it and worked well.
are you wary of some problems if it is done like this?
I feel duncan’s process is great if you need a fine level of control at the sim. but takes a longer time to setup.
|
|
|