What steps will reproduce the problem?
1. Run
\newton-dynamics-2.32\applications\tutorials\bin\Win32\Tutorial_203_RayCastConve
xCastCar.exe
2. Wait <1s until models reach ground.
3. Crash.
What is the expected output? What do you see instead?
No crash :) Instead I'm seeing AV in dgCollisionHeightField::RayCast at line
639, because body==NULL.
Attached stack (from VSE2010).
What version of the product are you using? On what operating system?
newton-dynamics-2.32
Win7 x64
Please provide any additional information below.
"Dirty" workaround dgCollisionHeightField.cpp:638 (method
dgCollisionHeightField::RayCast)
Change:
[line 638] if (m_userRayCastCallback) {
To:
[line 638] if (m_userRayCastCallback && body) {
Original issue reported on code.google.com by krystian...@gmail.com on 9 Mar 2011 at 8:28
Original issue reported on code.google.com by
krystian...@gmail.com
on 9 Mar 2011 at 8:28Attachments: