The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

import-bot (20211) [Avatar] Offline
#1
[Originally posted by linton]

Hi,

I'm building a robot simulation application and need a little help with nested
transforms. The application interface uses bits of code from various examples
in Jon's software download. Primarily the application is based on the third
person example and uses the SecondBlocks utilities to build manipulation
targets to be added to the world.

The problem arrises when I attempt to write to nested transforms to create
animation sequences. How should this be done and what classes in jon's
software pack should I be using?

Thanks,
Linton
import-bot (20211) [Avatar] Offline
#2
Re: Animation of nested transforms
[Originally posted by author]

Assuming you are using the FloorTarget class, use the public accessors
getSlide(), getRotate(), getLift() to get the target actuators (the class is
shown on page 465-8 of the book). With the actuators, you can use the
ActuationTarget interface, initActuation(), updateActuation(), and
syncActuation(), to directly manipulate the target.

Another approach, which allows you to take advantage of the internal mappers
(such as WRM sliding) would be to drive the absolute and relative draggers
inputs programatically. You can do this by reworking the existing dragger
building blocks, or by simply providing the FloorTarget class with your own
InputDragSplitters for the draggers, and controlling the InputDragTarget
interface on the splitters with your animation code.

Hope this helps
--jon

> Hi,
>
> I'm building a robot simulation application and need a little help with nested
> transforms. The application interface uses bits of code from various examples
> in Jon's software download. Primarily the application is based on the third
> person example and uses the SecondBlocks utilities to build manipulation
> targets to be added to the world.
>
> The problem arrises when I attempt to write to nested transforms to create
> animation sequences. How should this be done and what classes in jon's
> software pack should I be using?
>
> Thanks,
> Linton