IC Python API:Smooth Camera Follow

From Reallusion Wiki!
Revision as of 01:01, 4 March 2019 by Chuck (RL) (Talk | contribs) (Created page with "__NOTOC__ {{Parent|IC_Python_API:RL_Python_Samples|RL Python Samples}} == Smooth Camera Follow == This script lets the user pick a camera/view and a prop/target to follow....")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Main article: RL Python Samples.

Smooth Camera Follow

This script lets the user pick a camera/view and a prop/target to follow. The camera will always be facing the direction of the target prop with delay as an adjustable factor. The Offset values creates a distance between the view and the target. Use the Delay value to create a lag between the view and the target.

Learn How to

  • Drive the motion of the camera according to the animation of a prop.
  • Populate drop down menus/combo boxes with elements from the scene.
  • Set timer and event callbacks and attach commands.

Required Files

  • Scene with camera and animated prop
  • Smooth Camera Follow Python script
  • Extensions Python script

Steps to Take

  1. open iClone and load the sample scene provided for this example.
  2. Load the Smooth Camera Follow python script into the project (Script > Load Python > ...).
  3. Follow the instructions in the subsequent popup window.
  4. Test by playing the scene via the timeline controls.