TOUR
PRICING
HELP
Stencylpedia
Blocks Guide
Sample Games
Developer Center
FORUMS
CHAT
#MADEINSTENCYL
EDUCATION
SIGN IN
×
Welcome back!
Username or E-mail
Password
(
Forgot?
)
C
OMMUNITY
Home
Issue Tracker
Inbox [0]
New Posts
New Replies
Search
Stencyl Community
→
Stencyl
→
Ask a Question
→
Strange behavior from Collision bound
Pages:
1
Strange behavior from Collision bound
TF101
Posts: 84
December 05, 2020, 09:04:32 am
Hi @all,
i have a problem and i don't find a solution.
I have add in my Tileset a "barrel" and i create a polygon as a collision bound:
See Picture #1
After the testing on my device the collision bound is there but in addition a square around my polygon...
I dont find the problem...
See picture #2
Maybe anybody can help me?
Sincerely
Thomas
Luyren
Posts: 2754
December 05, 2020, 10:30:37 am
Tools > Clean Project
Make sure that polygon is the only collision on your barrel.
Make sure your barrel is using regular physics instead of simple/minimal physica.
Check if there is code in your barrel creating actors or even creating collision bounds.
My Stencyl resources are available here:
https://luyren.itch.io/
Cutscenes, RPG Elements, Particles, Map System and many more.
Twitter
TF101
Posts: 84
December 05, 2020, 11:46:24 am
Hello Luyren,
Thank you for your response and your help.
I've cleaned up the project. No changes.
The barrel is a
tile
, not a actor. So i can't set some physics or add code.
And the collision bound is the only one, like you can see in my picture#1.
Sincerely
Thomas
Luyren
Posts: 2754
December 05, 2020, 04:42:29 pm
My guess is the tile combiner is merging all the shapes, though I could be wrong. Are the rocks in your screenshot actors, or tiles? Either way, try making them actors instead.
My Stencyl resources are available here:
https://luyren.itch.io/
Cutscenes, RPG Elements, Particles, Map System and many more.
Twitter
TF101
Posts: 84
December 07, 2020, 07:52:49 am
Hello Luyren,
Thank you for your response.
Yes, the Stones are Tiles.
I dont understand why every new tile get the box around the polygon...?
In my picture i have a barrel as a actor and a tile. As a actor it works but as a tile not.
Are the amount of the collision bounds limeted? I have approx. 80 Collision bounds, not all in use.
Luyren
Posts: 2754
December 07, 2020, 08:19:07 am
Quote from: TF101 on December 07, 2020, 07:52:49 am
Are the amount of the collision bounds limeted? I have approx. 80 Collision bounds, not all in use.
What do you mean by that?
My Stencyl resources are available here:
https://luyren.itch.io/
Cutscenes, RPG Elements, Particles, Map System and many more.
Twitter
TF101
Posts: 84
December 07, 2020, 09:39:44 am
I mean this one.
Luyren
Posts: 2754
December 07, 2020, 10:28:37 am
I don't think there's is a limit on that, but I could be wrong. It also seems to me the vast majority of those would be better off as actors.
My Stencyl resources are available here:
https://luyren.itch.io/
Cutscenes, RPG Elements, Particles, Map System and many more.
Twitter
TF101
Posts: 84
December 11, 2020, 10:26:04 am
I found the problem, it was of course my mistake.
I have several tiles on top of each other. The bottom tile had the square collision bound.
Kind regards,
Thomas
Pages:
1