A place to discuss everything related to Newton Dynamics.
Moderators: Sascha Willems, walaber
by Cyrus » Tue Aug 24, 2010 8:33 am
Hi,
I have an issue with a tunnel-like object. If I attempt to move any object into this tunnel-like object, CollisionCollide reports collision=true.

But it does work for concave objects like a cup.
Has anyone worked successfully with tunnel like objects? Let me know if it has worked for you.
I've checked with enabling debug lines and it does not show any lines at the entrance of the tunnel.
I am using Newton 2.20.
Thanks in advance,
Cyrus.
-
Cyrus
-
- Posts: 49
- Joined: Mon May 17, 2010 1:04 am
by Julio Jerez » Tue Aug 24, 2010 9:33 am
what collision shape are you using to mode you tunnel like object?
-
Julio Jerez
- Moderator

-
- Posts: 12452
- Joined: Sun Sep 14, 2003 2:18 pm
- Location: Los Angeles
-
by Cyrus » Tue Aug 24, 2010 10:13 am
I am using a compound collision shape. I have uploaded the model & screenshots to my skydrive. I have also PMed you the access details.
Thanks in advance,
-
Cyrus
-
- Posts: 49
- Joined: Mon May 17, 2010 1:04 am
by Stucuk » Tue Aug 24, 2010 12:44 pm
Have you enabled a Debug Display so you can see the Physics Represented on the screen?
-

Stucuk
-
- Posts: 801
- Joined: Sat Mar 12, 2005 3:54 pm
- Location: Scotland
-
by Julio Jerez » Tue Aug 24, 2010 2:22 pm
hwo to go to your website.
also Stucuk is correct Debug display is your best friend
-
Julio Jerez
- Moderator

-
- Posts: 12452
- Joined: Sun Sep 14, 2003 2:18 pm
- Location: Los Angeles
-
by Cyrus » Wed Aug 25, 2010 2:05 am
Please see the attached rar file (password protected).
@Julio, Stucuk: I PMed the password
I tested with debug display but there is no blocking lines visible, Please refer to the pictures in the rar file.
- Attachments
-
CollisionCollide.rar
- convex decomposed obj file with images
- (128.95 KiB) Downloaded 128 times
-
Cyrus
-
- Posts: 49
- Joined: Mon May 17, 2010 1:04 am
by Julio Jerez » Wed Aug 25, 2010 7:48 am
if the Box of the car is a collision Box or a convex hull it will not work, what you have is a big box with small litl boxes inside.
you need to model each wall of the car as a separate convex object, you nee to make then objects with volume because a conve object cannot be a flat plane.
then it will work.
-
Julio Jerez
- Moderator

-
- Posts: 12452
- Joined: Sun Sep 14, 2003 2:18 pm
- Location: Los Angeles
-
by Cyrus » Thu Aug 26, 2010 7:16 am
Fantastic Julio

, It's working amazingly. Thanks a ton.
-
Cyrus
-
- Posts: 49
- Joined: Mon May 17, 2010 1:04 am
Return to General Discussion
Who is online
Users browsing this forum: No registered users and 385 guests