Espresso for target light 'wiggle'

Become a member of the CGSociety

Connect, Share, and Learn with our Large Growing CG Art Community. It's Free!

THREAD CLOSED
 
Thread Tools Search this Thread Display Modes
  10 October 2013
Espresso for target light 'wiggle'

Hey guys, i have a relatively simple question here, ive got a spot light and a null that is looking at via a target tag, now i wanted to know if its possible to make this light randomly aim around this target (i hope that makes sense) its a laser pointer over an smg that its facing its target but i wanted to move around as if the shooters gun has some shake or motion as he is aiming at the target

hope that made sense
 
  10 October 2013
What about inserting a Null-Object under the target object and give it a vibration tag?

Best,
-Niklas
__________________
Cinema 4D Plugin Developer
niklasrosenstein.com/ | Freebies | Plugins
 
  10 October 2013
Without Xpresso: Put a Null under the current target, put a vibrate tag on it and use this Null as the new target.

You can also do it with Xpresso, but you can't use the Target tag then.
By subtracting the global positions of the light and the target you get a difference vector. By adding a random vector to the target position you can modify the targeting information.
With Vector2Matrix you can create a new alignment matrix for the light, combine this alignment with the position of the original light (v0) to a new global Matrix and assign it to the light.
__________________
- www.bonkers.de -
The views expressed on this post are my personal opinions and do not represent the views of my employer.
 
  10 October 2013
Thread automatically closed

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.
__________________
CGTalk Policy/Legalities
Note that as CGTalk Members, you agree to the terms and conditions of using this website.
 
Thread Closed share thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
CGSociety
Society of Digital Artists
www.cgsociety.org

Powered by vBulletin
Copyright ©2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump
Miscellaneous

All times are GMT. The time now is 04:30 PM.


Powered by vBulletin
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.