Gamestudio Links
Zorro Links
Newest Posts
ZorroGPT
by TipmyPip. 08/17/26 19:28
Max Number of Strategies in /Strategy folder
by Martin_HH. 08/17/26 07:54
Pause button for evaluation shell?
by AndrewAMD. 08/13/26 17:16
Sam Foster Sound | Experienced Game Composer for Hire
by titanicpiano14. 08/10/26 12:46
phantom() not defined in indicators.c
by jcl. 08/07/26 11:45
Accepting new programming clients
by AndrewAMD. 08/06/26 21:25
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
2 registered members (Quad, mayarik), 14,525 guests, and 11 spiders.
Key: Admin, Global Mod, Mod
Newest Members
riggi89, shuhari, KD1990, Student_64151, Koti
19230 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
shadow for invisible obj #399949
04/24/12 05:50
04/24/12 05:50
Joined: Jan 2010
Posts: 150
iran - tehran
F
flatron Offline OP
Member
flatron  Offline OP
Member
F

Joined: Jan 2010
Posts: 150
iran - tehran
hi
i made a car that has 21 pieces and an invisible model for body.
that model is the real physic car and other 21 pieces are just renderd for visual .
i need to have shadow from that invisible model.
is there any solution?

Re: shadow for invisible obj [Re: flatron] #399952
04/24/12 07:09
04/24/12 07:09
Joined: May 2009
Posts: 5,377
Caucasus
3run Offline
Senior Expert
3run  Offline
Senior Expert

Joined: May 2009
Posts: 5,377
Caucasus
I don't know if this will help, but try to make object TRANSLUCENT instead of INVISIBLE and lower it's alpha till 0.001 (try 0 as well). I'm not sure if this will help, just an idea.


Looking for free stuff?? Take a look here: http://badcom.at.ua
Support me on: https://boosty.to/3rung
Re: shadow for invisible obj [Re: 3run] #399956
04/24/12 09:29
04/24/12 09:29
Joined: Mar 2011
Posts: 3,150
Budapest
sivan Offline
Expert
sivan  Offline
Expert

Joined: Mar 2011
Posts: 3,150
Budapest
it can be done simply by

my.shadow = you;

where my is the drawn car, you is any (invisible) shadow casting entity (sprite for decal shadow, model for stencil shadow)


Free world editor for 3D Gamestudio: MapBuilder Editor
Re: shadow for invisible obj [Re: sivan] #400075
04/25/12 13:16
04/25/12 13:16
Joined: Jan 2010
Posts: 150
iran - tehran
F
flatron Offline OP
Member
flatron  Offline OP
Member
F

Joined: Jan 2010
Posts: 150
iran - tehran
it works.
thank you very much.
camera_ambient.red and green and blue also is affected on shadow.
if all is 0,shadow will disappear.


Gamestudio download | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1