Problem Generating ODE objects

   2204   2   0
User Avatar
Staff
4159 posts
Joined: Sept. 2007
Online
I'm trying to generate some popcorn in DOPs, using ODE. I've got a simple popcorn setup of some spheres as a Composite ODE object. But, when I put the expression '($SF % 10) == 1

Attachments:
popcorn_ode.hip (135.6 KB)

I'm o.d.d.
User Avatar
Staff
181 posts
Joined: July 2005
Offline
The problem with your expression is that it returns 1 or 0, when what you want (I believe) is the frame number to create another popcorn for you.
Please try:
if(($SF % 10) == 1, $FF, 0)
or
if(($SF % 10) == 1, $SF, 0)
instead
Also, for this to be an ODE sim, you need to change the Solver Engine
parameter in the Rigid Body Solver to ODE

Attachments:
popcorn_ode_784_fix.hip (223.7 KB)

User Avatar
Staff
4159 posts
Joined: Sept. 2007
Online
Ah, thank you!

I'm glad it was just me, and not a bug.
I'm o.d.d.
  • Quick Links