Boids.js

:smile: Hi Hiroto

Is this only for rigid body particles or will it work on soft body particles also.

I have a problem of the Hair, Leaf and Cob particles penetrating each other.

I’ve tried numerous combinations of all the rigid and soft body properties of the hair, leaves and cob and still no solution.

I don’t know if I’m explaining myself correctly so I’ve attached a jas file to try to demonstrate the problem.

(Please excuse my messy dysfunctional Corn Cob Man. With the help of the Forum I am in the process of giving him a total remodeling)

My Best Regards
Jeanny
 

Attachments

  • CCM.jas.png
    CCM.jas.png
    107.5 KB · Views: 760
  • CCM.jas.zip
    116.9 KB · Views: 496
Hi

Is this only for rigid body particles or will it work on soft body particles also.

this script works for any type of particle object. please try it, just for making boids scene though ;) .

I have a problem of the Hair, Leaf and Cob particles penetrating each other.

I’ve tried numerous combinations of all the rigid and soft body properties of the hair, leaves and cob and still no solution.

I don’t know if I’m explaining myself correctly so I’ve attached a jas file to try to demonstrate the problem.

(Please excuse my messy dysfunctional Corn Cob Man. With the help of the Forum I am in the process of giving him a total remodeling)

My Best Regards
Jeanny

nice model! Chain Creator and Particle Array object copy each objects ( Leaves and Hair ) after calculating physics effect. so you have to find another way to express this scene without Chain and Particle Array.

regards.

tg_jp, Hiroto
 
:D Thanks Hiroto
I appreciate that you took time to examine my model and offer advise.

:confused: I’m so lost as where to go from here. Do you have any further advise? Thought I’d post this as a separate thread and see what advise is offered.

Thanks again Hiroto.

My Very Best Regards
Jeanny
 
Hi Hiroto,

Thanks for this great script, i'll try this as soon as I'm home.
( unfortunately, I'm not a lot at home this last half year )
 
Hi Hiroto,

I finally managed to create some time to play with this incredible script!
Really superb :icon_thumbup::icon_thumbup::icon_thumbup:

I'm sure this will help me (and others) a lot to make nice animations :D
 
The potential of this script seems quite fun - But I can't seem to understand HOW to set it up - my objects just sit there - :p - does anyone have a basic setup or .jas file that works so I can more clearly see how to start experimenting? That would be so helpful - cheers
 
Hiroto provided an example file in the opening thread. Do you have the script installed as particle script already?

Cheers
Frank
 
omg - I feel stupid - I did not see the sample file - downloaded and tried to run - I got this error:

line: 75
error: 'undefined' is not a function (evaluating 'doc.animPosition()')

I tried rebuilding the file from scratch using the sample as a model - and the same error occurs specifically when I drag/drop the Particle array onto the "Base Particle" section of the script properties.
 
Hi,

thank you for testing this script. I think you are using Cheetah3D 5.8, and this script is not work for that version unfortunately. :(

regards.

tg_jp, Hiroto.
 
Hi Hiroto your sample file runs fine, (Cheeteh 6.3.1) so I tried setting up my own but no success :-(

I copied everything (except the Boids) from my file into your file, all good.

I copied just your Boids into my file, added my bits, all good.

In the file attached (working) the Hiroto Boids runs fine, but if you delete and try to run my version, no good, although I think I set it up OK????
 

Attachments

  • Boids Trial.jas.zip
    12.3 KB · Views: 447
Hi, thank you.

'timer' parameter must be recorded to update at each frame for animation.
please check your version. it will work after recording 'timer' parameter.

regards.

tg_jp, Hiroto.
 
Thank you Hiroto, I knew I'd missed a step but could not figure it out, all works OK now.:cool:

Thanks again, Pat
 
Back
Top