Game Development Community

Vehicle issues

by Kimberly Unger · in Torque Game Engine · 08/27/2003 (7:02 pm) · 10 replies

Good Evening Everyone!

We are trying to use a vehicle of sorts for our player "character", however whenever we try to bring it into the engine we get an "Access Control Error" and it always crashes on the last object in the list. The mesh has been set-up almost exactly like the buggy in the racing demo with the exception of wheels/wheel nodes and springs.

Can anyone help me figure out what has gone wrong?

Thanks!

-ekim

#1
08/27/2003 (7:05 pm)
Hi Again!

Here's what my programmer says is happening when it crashes (I'm the modeller):

the cs files work fine with "~/data/shapes/buggy/buggy.dts" but fails with "~/data/shapes/PlayerShip/PlayerShip.dts".
The Mem access error happens in the buildPolyList on the last mesh object in detail1.
#2
08/28/2003 (9:44 am)
Hi All!

We solved the problem. We had used bones to animate elements of our vehicle mesh. When we took the bones out and animated the mesh elements separately it seemed to solve the problem. Apparently you cannot use collision objects with skinned meshes (?)

Has anyone else run across this, or did I just miss a line in the documentation somewhere?


Thanks!
#3
09/02/2003 (12:13 am)
What do you mean by collision objects with skinned meshes?
#4
09/02/2003 (7:10 am)
When I have an animated mesh that uses bones or Bip, like a player character, and I try to add a custom collision object using the Col-1/Collision-1 setup as described in the documentation, it gives us the above mentioned error.

-ekim
#5
09/08/2003 (3:56 am)
Did you animate the collision mesh? because I do not think you are allowed to do that.
#6
09/08/2003 (7:07 am)
Nope, the collision mesh was not animated.

-ekim
#7
09/08/2003 (8:11 am)
Did your collision mesh have any concave faces (indents)?
#8
09/08/2003 (8:40 am)
Nope. The collision mesh was basically a simple, low-poly sphere in Max.
#9
09/08/2003 (8:41 am)
If anyone's interested, I can send them the Max4 file I was working with to take a look at. It's very possible I did *something* wrong somewhere, but I just can't seem to figure out what it was.
#10
09/08/2003 (8:43 am)
If anyone's interested, I can send them the Max4 file I was working with to take a look at. It's very possible I did *something* wrong somewhere, but I just can't seem to figure out what it was.