yade-dev team mailing list archive
-
yade-dev team
-
Mailing list archive
-
Message #00974
Re: shared_ptr<PhysicalAction>
-
To:
yade-dev@xxxxxxxxxxxxxxxxxxx
-
From:
Václav Šmilauer <eudoxos@xxxxxxxx>
-
Date:
Tue, 17 Feb 2009 18:01:39 +0100
-
In-reply-to:
<20090217153452.7497cc39@szpak>
-
User-agent:
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8.1.19) Gecko/20090105 Lightning/0.8 Thunderbird/2.0.0.19 Mnenhy/0.7.6.666
> I don't know how good/useful it might be, though. And not possible
> currently without some extra work, I recall that come physical
> actions are overly complex currently (their data is bigger than
> sizeof(Vector3r)).
>
We use just 3 physical actions: force, momentum and rigidity (which, as
Bruno admitted once, is not very useful and can be done without). The
size doesn't matter, just that you can reset by setting its storage to
0s. Maybe I will try some day.
Follow ups
References