Difference between revisions of "IC Python API:Spring Joints"

From Reallusion Wiki!
Jump to: navigation, search
m (Learn How to)
m (Learn How to)
Line 32: Line 32:
 
|}
 
|}
  
== Learn How to ==
+
== Takeaway Lessons ==
  
 
*Apply spring physics to bones or attached props.
 
*Apply spring physics to bones or attached props.
Line 38: Line 38:
 
*Update UI by receiving callback events.
 
*Update UI by receiving callback events.
 
*Using Timer events.
 
*Using Timer events.
 +
 +
== Required Files ==
 +
 +
*Sample project.
 +
*Spring bones Python script.
 +
*Extensions Python script.
  
 
== Usage Instructions ==
 
== Usage Instructions ==

Revision as of 22:57, 19 January 2020

Main article: RL Python Samples.

Demo Video

Description

Spring bones allows you to apply spring physics to designated bones in the scene. The spring effect is calculated using an algorithm that takes into account several physics elements such as stiffness, bounciness, and damping. This script is versatile and can turn any existing bone or prop hierarchy into an active physics spring chain. You can also create a prop chain by attaching various props together and apply spring physics using this plugin.

Course Prerequisites

You should familiarize yourself with the following fundamental articles before you proceed:

Link Purpose

Takeaway Lessons

  • Apply spring physics to bones or attached props.
  • Create a tree list view to represent bone hierarchies.
  • Update UI by receiving callback events.
  • Using Timer events.

Required Files

  • Sample project.
  • Spring bones Python script.
  • Extensions Python script.

Usage Instructions

Code Flow

APIs Used