← Back to team overview

yade-dev team mailing list archive

Re: shared_ptr<PhysicalAction>

 

> 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