Box2D Forums

It is currently Sat May 18, 2013 10:34 pm

All times are UTC - 8 hours [ DST ]




Post new topic Reply to topic  [ 6 posts ] 
Author Message
PostPosted: Fri Jan 28, 2011 8:38 pm 
Offline

Joined: Mon Apr 07, 2008 3:06 am
Posts: 99
Try this: In the first demo screen, WorldRadial, select the central Circle80. Press F8 to contain it in a MovieClip so that you can then add a drop shadow. When you run the program now, you should see that the flying blocks pass straight through the circle. Remove the filter and it should work properly again.

Apparently, something about filters causes the position of the contained physics objects to think that their position is off from where it should be.


Top
 Profile  
 
PostPosted: Fri Feb 04, 2011 6:56 pm 
Offline

Joined: Mon Apr 07, 2008 3:06 am
Posts: 99
Hello?


Top
 Profile  
 
PostPosted: Fri Feb 04, 2011 7:18 pm 
Offline

Joined: Fri Dec 14, 2007 8:07 pm
Posts: 913
Just tried this, and it worked 100% fine for me. What version of Flash? I ran it in CS4 (because CS5 is currently crashing for me).

By "flying blocks" do you mean the animated ones or the dynamic ones?

Maybe attach a Flash project to your post...


Top
 Profile  
 
PostPosted: Wed Feb 09, 2011 1:29 pm 
Offline

Joined: Mon Apr 07, 2008 3:06 am
Posts: 99
You should see the dynamic blocks fly straight through the central circle. I was flummoxed for a while how to make a reliable reconstruction of the problem...

Have a look at this version of the demo:
http://barliesque.com/temp/demo2.swf
http://barliesque.com/temp/demo2.fla

There are only two screens in this version: The first shows the malfunction, the second is the original version. When you cycle through the screens and return to the first, suddenly it works properly!


Top
 Profile  
 
PostPosted: Tue Feb 15, 2011 3:03 pm 
Offline

Joined: Fri Dec 14, 2007 8:07 pm
Posts: 913
Ah the mysteries of Flash. This only seems to be a problem if the bodyshape is on the first frame of the SWF. Since this is pretty easy to work around I'm not going to worry about it. Also, if you put the filter on a symbol -inside- the BodyShape (double click the circle instance, select all, convert to symbol, add the filter) it works fine.


Top
 Profile  
 
PostPosted: Tue Feb 15, 2011 8:19 pm 
Offline

Joined: Mon Apr 07, 2008 3:06 am
Posts: 99
Quote:
Ah the mysteries of Flash

Yup. :D

Quote:
...convert to symbol, add the filter...

Yes, that's exactly how I got around the issue.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC - 8 hours [ DST ]


Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
cron
Powered by phpBB® Forum Software © phpBB Group