Game Development Community

Player shadow

by Tim Heldna · in · 02/17/2005 (7:14 am) · 7 replies

Since ive been using synapse (didn't have to migrate just compiled the pre done one) the shadow of my player dosent cast on the terrain properly. As i turn the character the shadow will cut in half( where it cuts off changes as he turns

any suggestions on what is causing this?
thanks

#1
02/17/2005 (11:45 am)
Hi Tim,

I'm not sure what you mean, can you post a pic?

The Lighting Pack doesn't alter the player shadow code at all. Does the problem look like z-fighting? You might want to check to make sure your bit depth is set to 32 (in Torque's options panel). With some video cards and drivers you need to set your desktop bit depth to 32 too.

-John
#2
02/17/2005 (6:33 pm)
How do i post a picture?

also im not sure what you mean by z-fighting?

cheers
#3
02/17/2005 (6:51 pm)
Hi Tim,

You can email me the screen shot and the 'console.log' file generated when you ran the mission (jkabus@synapsegaming.com), and I'll take a look at it.

-John
#4
02/21/2005 (4:55 am)
Hey John,

Sorry it took so long to get back to you. I've experimented a little, and it seems
that it is a problem with my model. When I put the original torque ork back into the enginehis shadow works fine. I'll post this in the normal forums.

I just sent you a picture of it anyway just in case!
Thanks anyway!!
#5
02/21/2005 (6:30 am)
Hi Tim,

Check to make sure the player model stays well within its bounding box during all of the animations. The bounding box is used for sizing the projection info of the shadow and if parts of the model end up outside of the bounding box those parts might not show up in the shadow at certain angles.

-John
#6
02/21/2005 (7:23 am)
Cheers John,
thanks heaps for your help with that, it worked straight away.

Tim
#7
11/21/2008 (4:20 am)
Hi,

We are trying to export a maya(Maya 2008) charachter with animation to Torque game engine(TGE 1.5.2).
The player file to ".dts" and the animation files to ".dsq".

We are able to import the charachter and the player animations and it works inside the game engine.

But the player collision is not exactly matching with the player dimensions .
And also the player shadow is not seen inside the game.

We have placed the mount point on the player head,but when exported the player the moint point was not seen either in Show tool Pro OR inside Game.

Can you please explain why this problem occurs?
If any latest tutorials are available for exporting maya charachters(With animations) to Torque Engine please send us the link.

Thanks & Regards,
Roshan.