PDA

View Full Version : Collision trigger in Xpresso with MoDynamics


schnitzelthomas
11-18-2009, 04:44 PM
Hi there,

I tried a search but I think the question hasn't come up yet. I would like to trigger effects for example make objects blink whenever they collide with another object in MoDynamics. Is this somehow possible? I looked around xpresso, but seems complicated to do, because it would need to be pretty precise, as precise as MoDynamics to ensure the objects blinks at the right moment. MoDynamics must have that info internally so wondering if there is a way to access it, like get a simple boolean back?

Thanks for any advice,
Thomas

mark render
11-19-2009, 01:54 PM
the cloner colliding object should have an output for "trigger" in its node. did you check this?
if if itīs an boolean (what it is supposed to be i would say) you should be able to use this output for whatever you want to trigger on/off.

JDP
11-19-2009, 05:31 PM
That port has nothing to do with collision events, it's to change the trigger type. I don't think it's possible at the moment to do what schnitzelthomas is asking.

schnitzelthomas
11-21-2009, 12:22 AM
Thanks JDP and Mark Render for your answers, I will keep searching. Would be such a cool functionality!

mazab
11-23-2009, 10:44 PM
Unfortnately there currently is no way to access MoDynamics data directly in XPresso. There is no node in XPresso which tells you if a MoGraph Clone just experienced a dynamic collision.

tcastudios
11-24-2009, 12:02 AM
Shouldn't be totally impossible thou..
I quick test with a single clone reading velocity and angles.
For more than one clone I'd guess some sort of array reading is needed.

QT QuickLook (http://homepage.mac.com/tcastudios/tempfiles/Mo2FlashH264.mov)

http://homepage.mac.com/tcastudios/tempfiles/Mo2Flash.jpg

Cheers
Lennart

CGTalk Moderation
11-24-2009, 12:02 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.