the-other-mariana / surface-jumper-plugin

Plugin in MAXScript that makes an object jump over any surface you click on. Customizable jump parameters. Built using bezier curves and quaternions.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Surface Jumper Plugin

This plugin takes an object and makes it jump over a series of control points that you add by clicking on any editable poly you have on a 3dsMax Scene.

alt text

Specifications

Version of 3dsMax: Autodesk 3dsMax 2020

Getting Started

  1. Download test scene and script.

  2. Open test scene from step 1.

  3. In 3dsMax, go to Scripting > MAXScript Editor > Open File. Open the script from step 1.

  4. Click anywhere over the editor.

  5. Type Ctrl + A and then Ctrl + E to open the plugin window.

Usage

Prepare Params

  1. On Surface Jumper window, click on Select Jumper.

  2. On max scene, select the teapot in the scene by clicking on it. To check you have a jumper, the button should now display the object's name.

  3. On Surface Jumper window, click on Add Point.

  4. On max scene, click on any surface to put a control point. A small black circle will appear on the surface you clicked.

  5. Make a right click.

  6. Repeat steps 3 to 5 in order to add more jump control points. You must have more than 2 points. When you finish placing points, continue on next section.

Customize Each Jump

  1. On Surface Jumper window, in Jump Params section, select the Interpolation Style you want: Physical is face-normal based (looks better in curved surfaces) or Biased (looks good in horizontal surfaces).

  2. On Surface Jumper window, Frames Per Jump is the amount of frames in the time line that each jump will take. Default set to 24, but click on the arrows of the spinner to add or substract frames.

  3. On Surface Jumper window, Roll Angle is the angle that the jumper will spin when jumping. Default set to 90, but click on the arrows of the spinner to add or substract angle.

Customize The Jump Sequence

  1. On Surface Jumper window, in Jump Sequence Params section, select the Jump Strength style you want. Decay, for example, makes the jump sequence decrease its strength each jump. It's how the height of each jump will be handled.

  2. On Surface Jumper window, Strength Value the strength or height you want for all jumps. Default set to 15, but click on the arrows of the spinner to add or substract strength.

  3. On Surface Jumper window, Squash Frames is the amount of frames you want to use from each jump's frames to squash the object when it touches the floor. Default set to 5, but click on the arrows of the spinner to add or substract strength. Do not exceed half the amount of Frames Per Jump.

  4. On Surface Jumper window, Squash Limit is a slider where you will choose the maximum squash value.

  5. On Surface Jumper window, Constant Squash checkbox is where you choose if the amount of squash per jump is according to the height (unchecked) or constant (checked).

  6. Click on Create Jumps button to apply everything and generate the sequence.

Note: You may want to have your time line include some negative frames so that you see the anticipation to the jumps.

Example

The plugin window should look something like this:

alt text

An example of the usage and result is below.

alt text

About

Plugin in MAXScript that makes an object jump over any surface you click on. Customizable jump parameters. Built using bezier curves and quaternions.

License:MIT License


Languages

Language:MAXScript 100.0%