Blockland Forums > Modification Help

Can collision objects be animated like regular mesh objects.

Pages: (1/2) > >>

DrenDran:

I'm making a vehicle, that will have a no mount script so players can walk inside, and I was wondering if it was possible to add animations to the vehicle that moved collision meshes too?

phydeoux:

I tried animating collisions with the forklift, but had no luck whatsoever. The collisions always stayed put.

Ephialtes:


--- Quote from: DrenDran on December 20, 2010, 07:57:37 PM ---I'm making a vehicle, that will have a no mount script so players can walk inside, and I was wondering if it was possible to add animations to the vehicle that moved collision meshes too?

--- End quote ---

Don't bother. Vehicles like that have been done many times before and they've always sucked because the only way to pull it off is a scheduled loop. I wouldn't waste your time with something I'd probably Fail Bin anyway for killing server performance.

Destiny/Zack0Wack0:


--- Quote from: Ephialtes on December 22, 2010, 04:53:44 AM ---Don't bother. Vehicles like that have been done many times before and they've always sucked because the only way to pull it off is a scheduled loop. I wouldn't waste your time with something I'd probably Fail Bin anyway for killing server performance.

--- End quote ---
Can't you just intercept onCollision?
--

No. You can't have animated collision meshes. Actually I can't think of any past-but-not-old game engines that even can. Even then the latest game engines usually just make multiple entities that move to simulate moving an animated collision model.

Proof: http://www.torquepowered.com/community/forums/viewthread/78595

--- Quote ---No, you can't do that in stock Torque. You'll have to write new engine collision code.

--- End quote ---


Ephialtes:


--- Quote from: Destiny/Zack0Wack0 on December 22, 2010, 06:16:03 AM ---Can't you just intercept onCollision?

--- End quote ---

No. Try and see.


--- Quote from: Destiny/Zack0Wack0 on December 22, 2010, 06:16:03 AM ---No. You can't have animated collision meshes.

--- End quote ---

You can, It should just never be done because it doesn't work all that great.

Pages: (1/2) > >>

Go to full version