Anyone had platform issues when moving hotspot pos

For questions about using Classic.

Post » Wed Nov 16, 2011 1:06 am

Well like I said, it works absolutely perfectly until you change the hotspot position.

So is there any way to be able to get custom collisions with platform
behavior without physics?
B
3
G
2
Posts: 58
Reputation: 1,166

Post » Wed Nov 16, 2011 1:21 am

Create a separate sprite to use as a collision box. Set the platform behaviour to that sprite, and then have your animated character sprite positioned to the collision sprite.

Also, why do you need to change the hotspot position?

The platform behaviour will collide with anything that has the atribute "solid".

Steven2011-11-16 01:24:10
B
9
S
2
G
4
Posts: 346
Reputation: 2,726

Post » Thu Nov 17, 2011 1:51 am

The reason I need to change the hotspot is because of the big issue,
of when the character rotates near corners, he ends up getting thrown
through the wall because of the location where the object rotates
(you can't set a specific rotation angle when having him rotate from
an offset position/point).

Which is a really frustrating occurrence.

I was thinking of the collision box, but it would be a nightmareish
amount of recoding to get everything changed over to that box,
just for the slight possibility it might stop the shooting through
walls occurring.

It also seems like, when I set the character to a specific angle,
and it get's thrown through the side of the wall, it seems like
it doesn't actually skip angles.
The only logical reason it would end up getting thrown through the wall,
is that it's rotated instantly to the new angle, and when the character
is rotated halfway through the wall it pops out the other side.
B
3
G
2
Posts: 58
Reputation: 1,166

Post » Thu Nov 17, 2011 3:16 am

Physics behavior should be fine with platform if you set the physics behavior to immovable. Also physics behavior has a problem with uncentered hotspots, so that could be part of the issue
Spriter Dev
B
87
S
21
G
12
Posts: 3,240
Reputation: 16,461

Post » Sat Nov 19, 2011 6:26 am

Well if physics didn't like un-centered hotspots, that would be the most
likely issue.
Guess I have to just give up on custom collision as a solution to my
problems.
B
3
G
2
Posts: 58
Reputation: 1,166

Previous

Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 1 guest