Demonstration scenes using AGX Dynamics SDK

The simulations start in paused mode Continue simulation with the 'e' button

Keybindings and arguments for agxViewer

High fidelity chain model

This demonstrates how a high fidelity chain model can be modelled using AGX.

High fidelity chain                 model

"peg-in-a-hole" demonstration

This show how an implementation of a stable peg in a hole scenario can be implemented. By using a constraint and collision sensors, a plausable simulation of this can be achieved.

Peg in a hole

Ship, Oil rig and Anchor demonstration

This scene demonstrates how AGX can be used to build a offshore simulation scenario with a ship, oil rig, anchor and wires.

Key bindings:

'a' while holding, wire is going in/on to the ship's drum.
'A' like 'a' but you don't have to hold it down. To stop the drum, press 'a'.
'z' while holding, wire is going out from the ship's drum.
'Z' like 'z' but you don't have to hold it down. To stop the drum, press 'z'.
F1,F2,F3,F4 mark/toggle active guide/towing pin
up/down active guide/towing pins goes up or down.
Rig
's' while holding, chain is going in to the rig's winch.
'S' like 's' but you don't have to hold it down. To stop the winch, press 's'.
'x' while holding, chain is going out from the rig's winch.
'X' like 'x' but you don't have to hold it down. To stop the winch, press 'x'.
Demo 1

Buoyancy

This scene demonstrates the buoyancy functionality in AGX. Triangle meshes and spheres floating with drag and viscous damping.

Demo 1

Snakebot

Demonstrates a "snakebot", a robot in water which use twiggling motions as propulsion. It can be controlled with arrow keys on the keyboard.

Snakebot

Hydrodynamics for wires

This scene illustrates hydrodynamic effects on wires.

HydrodynamicWires

Hydrodynamics crane

This scene show a crane floating in water. Both the crane as well as the wire is affected by hydrodynamic forces: lift, drag and buyoancy.

Hydrodynamiccrane

Submarine

Using buoyancy, lift & drag this "submarine" can be navigated in the water. The submarine is being pulled by a wire attached to a motorized hinge.

Submarine

Ships

Two ships floating in water connected with wires

Ships

Industrial Robot

Demonstration of an interactive robot with attached cabes that can be controlled using the keyboard.

This simulation should by no means be considered a promotion of any specific robot company or product.

Demo 1

Simple excavator

Demonstrates a simple excavator model built from primitives (boxes). Surface velocity is used for the forward/backward movement. Keyboard bindings:

  • a/z - Left track forward/backward
  • s/x - Right track forward/backward
  • left/right - Rotate turrent left/right
  • Page up/down - move first hinge up/down
  • Page up/down - Lift first joint up/down
  • Home/end - Lift second joint up/down
  • Insert/delete - Tilt bucket up/down
If a gamepad is attached, it can be used to control the excavator.
Simple excavator

Trimesh reader/collider

Demonstrates th Wavefront obj reader and how to use a triangle mesh as a collider primitive.

Demo 6

Tracing surface of triangle mesh

Demonstrates how spheres are tracing/rotating against the profile of a triangle mesh.

Trimesh contacts

Building a "crane" with Wires

This script creates a flexible crane with a wire. The flex in the two beams in the crane can be altered with the UP/DOWN/LEFT/RIGHT keys.

Shows how to:  

  • Create agxWire::Wire
  • Render wires
  • Route wire with nodes
  • Work with WireWinchControllers to winch in/out wire.
Wire Crane

Modelling Torsional spring with agxCable

This script creates a torsional spring using the agxCable API. By routing a agxCable::Cable in a spiral, then calling Cable::rebind() will reconfigure the cable so that the current state is the rest state.

Pressing up/down key will lift/push down the weight. Releasing the button will release the weight

Torsional spring

Modelling a road roller

This script demonstrate how to modell a road roller running over a deformable terrain.

Road roller

Demonstration of a "jump request"

Sometimes it is necessary to move a part of a simulation to a different place.

It is important to keep the relative transformation and velocities intact.

This script demonstrates how to move bodies and a wire while retaining a stable simulation.

moveBodiesAndKeepLocalVelocity