Ok, I understand well.

But, is there a way to split by library the node into its components using 
some osg classes?



Il giorno giovedì 30 giugno 2022 alle 11:07:30 UTC+2 [email protected] ha 
scritto:

> Normally you need a MatrixTransform node attach to the propeller geometry 
> and apply the appropriate rotations to that. Obj only describes the 
> geometry and the possibly the textures for model. Maybe the easiest thing 
> to split the cessna geometry into the body of the plane and the propeller. 
> Load both models and attach a MatrixTransfrom to the propeller. Next create 
> an instance of a MatrixTransfrom and an instance of NodeCallback which 
> updates the rotational position of the propeller every frame. It maybe 
> tricky to align the propeller and the Cessna body after loading them. Just 
> my 2 cents worth.
>
> On Wednesday, June 29, 2022 at 7:56:02 PM UTC+10 [email protected] 
> wrote:
>
>> Hi, 
>>
>> given the cessna model, I wanted to know if there is a possibility to 
>> hook the motor blade knot to make it spin ...
>>
>> Anyway, if I had a model of a helicopter (.obj), what is the way to 
>> generate the spin effect?
>>
>> Thanks
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"OpenSceneGraph Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/osg-users/ea3bb02f-2443-4ecd-9791-be22069682d0n%40googlegroups.com.

Reply via email to