Jump to content

Prefab bug with point light


 Share

Recommended Posts

I have a prefab fireball moving , but adding a light to the prefab fireball and it just no more moves.

 

How to test :

Dezip in directory "test" at your project root

load map "prefabTest.map"

Launch to see fireball just not moving

 

Change fireball prefab of the yellow launcher to "fireball.pfb" to see fireball without lights moving.

post-3271-0-49731400-1445025910_thumb.jpg

test.zip

Stop toying and make games

Link to comment
Share on other sites

What happens when you attach an empty script to the light?

I don't know, but i just expect a simple light to not interfere with a physic object.

 

The script is just a physics moving script attached to a physic sphere , than the light is added as child of the sphere.

Without the light the sphere movement is ok.

Stop toying and make games

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

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.

 Share

×
×
  • Create New...