Jump to content

Recommended Posts

Posted

I am having trouble mounting a vehicle with the new Torque release. I have an older version, either 3.6 or 3.7 where I had it working, but am having trouble telling the difference. Was hoping someone more experienced might have some insight.


Like is just wont, mount, the property ismountable is true, but it seems probably missing some script. On my working version player mounts on collision and in previous ones has been f to mount.

Posted

When you say mounting, do you mean the player mounting to the vehicle so you can drive it? Or are you just trying to attach other objects onto it, like particle effects?

Posted

Nah, you're fine, they can get used kinda interchangeably sometimes.


Are you using any of the physics plugins(bullet/physics) or is it just the stock Torque physics?

Posted

Looked into this, and the issue is that the Vehicle class doesn't actually hook into the physics plugins so they exist in the physics sim. As such objects that operate via the sim don't know it exists and can't collide with it.


Fortunately, Timmy's got some code that registers a physics body for the vehicle which should remedy that, and I'll test plugging that in tomorrow/PRing it if it works.

Posted

Cool I will plan on working on an older version of torque, hopefully 3.9 will have this working well since, it seems its release may be right around the corner. Planning to use 3.7

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...