[osg-users] Assign Vec3d to Node

OpenSceneGraph Users osg-users at lists.openscenegraph.org
Fri May 15 19:58:03 PDT 2020


Hi Trajce,

thank you, it's working!

Rodrigo.

On Friday, May 15, 2020 at 2:23:17 PM UTC-3, Trajce Nikolov NICK wrote:
>
> Hi,
>
> have a look at Node::setUserValue
>
> On Fri, May 15, 2020 at 7:09 PM Rodrigo Dias <rodri... at gmail.com 
> <javascript:>> wrote:
>
>> Hi,
>>
>> I'm creating objects that must fall by gravity. So I need to assign a 
>> Vec3d, representing speed, to each Node. Is there a proper way to do it? 
>> Maybe some variable inside the Node, Geode, ShapeDrawable, etc, or some 
>> function for this kind of variable assignment? Or must I create an array 
>> outside the OSG variables?
>>
>> Thanks,
>> Rodrigo.
>>
>> -- 
>> 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 osg-... at googlegroups.com <javascript:>.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/osg-users/2a51f5b0-9f51-45b5-acf5-17adc57f6b34%40googlegroups.com 
>> <https://groups.google.com/d/msgid/osg-users/2a51f5b0-9f51-45b5-acf5-17adc57f6b34%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>
>
> -- 
> trajce nikolov nick
>

-- 
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 osg-users+unsubscribe at googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/osg-users/df84fade-70c0-4a9a-b37c-c7059aa23070%40googlegroups.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20200515/782299ab/attachment.html>


More information about the osg-users mailing list