Game Development Community


#1
02/23/2005 (5:39 am)
My guess is that shadows are turned off for certain types of shapes. I see two possibilities for fixing this.

1) Find where shadows are turned off for that object type... and turn them on. This sounds simplest.

2) Mount another circular object to the bike which would go inside the wheels and which would cast a shadow. You would have to experiment with various kinds of shapes to figure out which types cast shadows. Make sure to turn off collision for the mounted shape.

I don't really know how to do either of these. They are just the first things I would start looking for.
#2
02/23/2005 (8:15 am)
I know that the Synapse Lighting Pack fixes the issue with mounted objects not casting shadows. You get get that (only $50) or you could hit up John Kabus for information. Maybe if hes feeling generous he'll point you where to look in the code.... assuming you can program. Judging by the fact that you modeled a good looking bike, im gonna say that you probably cant. :)
#3
03/22/2005 (6:24 am)
First, you can turn down the power of the sun so its not so bright.

As far as the wheels go, perhaps you could make a new post in the lighting pack forums. John replies to most threads in there.

Its odd, as soon as I added the lighting pack, every wheel I have was casting shadows...
#4
06/09/2005 (10:23 am)
One small favor to ask: Please do not copy over posts from one license-required forum area to another. The post in that thread is only viewable by people that have the Lighting Pack license for a reason--the code and techniques that may (or may not!) be mentioned will possibly include lighting pack-only code, and shouldn't be viewed here.

Your above post is fine, it was a "TGE" answer, not a "Lighting Pack" answer, but please keep it in mind in the future.

On to your question--what you are looking to implement is actually pretty complicated, hence the complicated answer! You may want to put this requirement of your project on hold for a bit until you get a deeper feel for how this part of the engine works, and then come back to it--that way, you aren't stuck trying to figure out something that is too complex for you right now, and can work on other things!