Report any bugs here and we'll post fixes
Moderators: Sascha Willems, Thomas
by mlazo » Thu Feb 18, 2010 11:55 am
Hi, i have a problem using DGRaycastVehicle. I'm using NGD 2.16 on Delphi 2007 and newtonimport_216_beta.
Im create the vehicle with following sentences:
- Code: Select all
Joint := DGRaycastVehicleCreate (0, @tmp[0], body); //0: because with 1, 2, 3 or 4 tires throw error too.
//tmp = [ 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 1 ]
DGRaycastVehicleSetTireTransformCallback (Joint, @TireTransformCallback);
When i call :
- Code: Select all
NewtonUpdate(world, step);
throw error : "Access Violation at adress...."
Any idea ¿?
Thanks !!
-
mlazo
-
- Posts: 10
- Joined: Wed Mar 12, 2008 10:27 am
by Dave Gravel » Thu Feb 18, 2010 1:46 pm
Maybe your better to use CustomBasicRayCastCar or CustomMultiBodyVehicle.
DGRaycastVehicle is make from a older newton beta, and it is only a experimental test.
I'm not 100% sure if it working again with the beta 2.16.
I don't have get times to test it with the last beta,
Currently I have work only with the multibodyvehicle under the 2.16.
-
Dave Gravel
-
- Posts: 800
- Joined: Sat Apr 01, 2006 9:31 pm
- Location: Quebec in Canada.
-
by mlazo » Thu Feb 18, 2010 2:51 pm
Dave, Thanks for quick reply. I'll take a look to your code. See you
-
mlazo
-
- Posts: 10
- Joined: Wed Mar 12, 2008 10:27 am
Return to Bugs and Fixes
Who is online
Users browsing this forum: No registered users and 4 guests