I've figured out how to create objects in a scene and make them Active rigid bodies.
(I've been using RealFlow for years, but I'm new to scripting.)
Now, how do I (or can I) add a velocity and vector to my rigid body objects?
Realflow 2012 manual, page 318 indicates setVelocity cannot be applied to Objects.
Is there another way to set my newly created rigid body objects in motion?
I am basically trying to create an emitter of rigid body objects to simulate coal flying off the end of a conveyor belt and travel down chutework onto antoher conveyor.
Or, is there a better way? A basic emitter just doesn't do it because it behaves like water.
Adding vectors / velocities to objects
-
- Posts: 4
- Joined: Mon Dec 12, 2011 5:32 pm
- Location: St. Louis, Missouri
Re: Adding vectors / velocities to objects
Hi,
you can specify the initial velocity of the rigid bodies by modifying the parameter "@ Velocity".
For example:
On the other hand, if you set the particle type to Dumb, their behaviour will be more force driven instead of looking like liquid.
you can specify the initial velocity of the rigid bodies by modifying the parameter "@ Velocity".
For example:
Code: Select all
Cube01.setParameter( "@ Velocity", Vector.new( 0.0, 1.0, 0.0 ) )
Alex Ribao
RealFlow Team
Next Limit Technologies
RealFlow Team
Next Limit Technologies
-
- Posts: 4
- Joined: Mon Dec 12, 2011 5:32 pm
- Location: St. Louis, Missouri
Re: Adding vectors / velocities to objects
Wonderful! That's doing it. I'm rather giddy now....
Now I need to figure out how to make a group of these each frame of a simulation.
I'm assuming that is possible. I love a challenge.
The emitter dumb particles won't work because I really need to show volume and the affects of particle vs particle (or chunk of coal vs chunk of coal) in the simulation. The chute will need to plug up with coal if that's what's going to happen in real life.
Thanks, much!
Lyle.
Now I need to figure out how to make a group of these each frame of a simulation.
I'm assuming that is possible. I love a challenge.
The emitter dumb particles won't work because I really need to show volume and the affects of particle vs particle (or chunk of coal vs chunk of coal) in the simulation. The chute will need to plug up with coal if that's what's going to happen in real life.
Thanks, much!
Lyle.
Lyle