Re: detection collision
Nicolas Lassabe <[email protected]> Thu, 23 Jun 2005 19:32:14 +0200
| Newsgroups | gmane.comp.breve |
|---|---|
| Message-ID | <[email protected]> |
I defined these functions to get the colling-objects from my multi-body
but I get a crash of the simulation... May be I don't use properly...
Any ideas ?
Thanks,
Nicolas
+ to getSizeListLink:
return (|(self get-all-connected-links)|).
+ to get-link-penetrations of n (int):
l (list).
l=0 new Links.
l=(self get-all-connected-links).
return (l{n} check-for-penetrations).
On Jun 23, 2005, at 18:16, jon klein wrote:
>
> On Jun 23, 2005, at 12:11 PM, Nicolas Lassabe wrote:
>
>> Hi,
>>
>> I would to know if there a function to know if a part of a multibody
>> object is in contact with the floor or itself... I need this
>> information to continue my simimulation but I don't find the
>> solution. Also It is possible to simule water now with breve ?
>
> The Mobile class method 'check-for-penetrations' will tell you if an
> object is actively colliding with others. In breve 2.3 (and in the OS
> X build of breve I posted yesterday), this method is replaced with a
> method called 'get-colliding-objects' which will return to you the
> actual objects a Mobile is colliding with.
>
> It is still not possible to simulate water in breve.
>
> - jon klein
> _______________________________________________
> breve mailing list
> [email protected]
> http://lists.spiderland.org/mailman/listinfo/breve
>
_______________________________________________
breve mailing list
[email protected]
http://lists.spiderland.org/mailman/listinfo/breve