Re: About pfDCS + pfSCS

New Message Reply Date view Thread view Subject view Author view

Sylvain Mayer (mayer++at++cae.ca)
Wed, 09 Sep 1998 08:29:41 -0400


Cao Zhigang wrote:

> Hello pfFriends,
>
> I attach a pfDCS *jetDCS under sceneGroup for a jet, and under this
> jetDCS is a pfSCS *missilSCS for a missile. When the missile is shot
> out, there should be a pfDCS *missileDCS under sceneGroup for its
> motion operation. My question is, how can I make the xyz & hpr of
> missileDCS from jetDCS and missileSCS ?

Hi,

once the missile has been fired, you should stop drawing the static missile
(detach it or mask it) and attach the dynamic missile under the jet rather
than under the scene. This way you will be moving relative to the jet.

I suggest you don't use a pfSCS. Only use the DCS (with a static position
at first) and then once it is fired, you start moving the DCS. This way
you won't have to create a new missile at fire time.

good luck, Sylvain

--
Sylvain Mayer, 3D Graphics Developer
Graphics Simulation Technology
CAE Electronics Ltd. (http://www.cae.ca)

New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Wed Sep 09 1998 - 05:33:44 PDT

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.