View unanswered posts | View active topics It is currently Thu Jan 09, 2025 10:28 pm



Reply to topic  [ 9 posts ] 
 Actors dies when walking through level seam, help 
Author Message
User avatar

Joined: Sat Nov 18, 2006 8:11 pm
Posts: 267
Reply with quote
Post Actors dies when walking through level seam, help
I have this actor who is large. Probably just under three times the size of a regular clone actor. He has this habit of dying EVERY TIME he walks through a seam in a level. The seam of course is the spot where the level loops. He can fly through the seam just fine, but if he tries to walk with his legs through the seam he dies. I am perplexed by this, could someone tell me why this happens and how to fix it?


Mon Aug 24, 2009 5:46 am
Profile WWW

Joined: Mon Dec 04, 2006 3:34 am
Posts: 2378
Reply with quote
Post Re: Actors dies when walking through level seam, help
Does he move too slow or something? This has always happened to any actor that sits in the seam for too long or moves in a certain way across it.


Mon Aug 24, 2009 6:55 am
Profile
User avatar

Joined: Sat Nov 18, 2006 8:11 pm
Posts: 267
Reply with quote
Post Re: Actors dies when walking through level seam, help
Alenth Eneil wrote:
Does he move too slow or something? This has always happened to any actor that sits in the seam for too long or moves in a certain way across it.


He's quite speedy, certainly covers more ground than a regular sized clone when walking.


Mon Aug 24, 2009 6:56 am
Profile WWW
User avatar

Joined: Sat Mar 28, 2009 2:33 pm
Posts: 718
Reply with quote
Post Re: Actors dies when walking through level seam, help
Foogooman wrote:
Alenth Eneil wrote:
Does he move too slow or something? This has always happened to any actor that sits in the seam for too long or moves in a certain way across it.


He's quite speedy, certainly covers more ground than a regular sized clone when walking.


perhaps his speed dosent make up for his size quite enough, as in, hes 3 times biger, but twice as fast, so he stays in the zone longer.


Mon Aug 24, 2009 3:01 pm
Profile
User avatar

Joined: Sat Nov 18, 2006 8:11 pm
Posts: 267
Reply with quote
Post Re: Actors dies when walking through level seam, help
lafe wrote:
Foogooman wrote:
Alenth Eneil wrote:
Does he move too slow or something? This has always happened to any actor that sits in the seam for too long or moves in a certain way across it.


He's quite speedy, certainly covers more ground than a regular sized clone when walking.


perhaps his speed dosent make up for his size quite enough, as in, hes 3 times biger, but twice as fast, so he stays in the zone longer.


Well my point is he isn't staying in the seam any longer than anyone else. The effect is instant and happens almost every time he tries to walk through. The second he gets into the middle of the seam he explodes.


Mon Aug 24, 2009 6:05 pm
Profile WWW
User avatar

Joined: Wed Jan 07, 2009 10:26 am
Posts: 4074
Location: That quaint little British colony down south
Reply with quote
Post Re: Actors dies when walking through level seam, help
This has been a recurring problem for a lot of people, things randomly gibbing when passing the seam.
My recommendation is to back this up, because if you happen to fix it then the potential repercussions for others having the same problem are pretty big. Anyway, if all else fails, try systematically changing variables until something happens.


Tue Aug 25, 2009 8:38 am
Profile WWW
User avatar

Joined: Sat Nov 18, 2006 8:11 pm
Posts: 267
Reply with quote
Post Re: Actors dies when walking through level seam, help
411570N3 wrote:
This has been a recurring problem for a lot of people, things randomly gibbing when passing the seam.
My recommendation is to back this up, because if you happen to fix it then the potential repercussions for others having the same problem are pretty big. Anyway, if all else fails, try systematically changing variables until something happens.


I've been testing it and it seems to me like the higher the pushforce is for your walkpaths etc, the higher the chance is of gibbing on a seam.

To help stop the problem, I increased my actors joint strength and gibimpulse to 1000000000, the highest possible variable. It happens much less often now, to the point where it is quite rare.

In addition, I noted that when I made my actor try to crawl through it, it gibbed nearly every time. It seems to gib when trying to get up, at the point where one foot is on one side of the seam and the other foot is on the other side. It seems to happen when the foot crossing the seam pushes down to get up.


Tue Aug 25, 2009 1:58 pm
Profile WWW
REAL AMERICAN HERO
User avatar

Joined: Sat Jan 27, 2007 10:25 pm
Posts: 5655
Reply with quote
Post Re: Actors dies when walking through level seam, help
I think the problem is your actor's position is wrapping past the X boundary of the scene. Eg, actor.Pos.X is greater than the width of the scene. Try adding this lua script:

function Update(self)
if self.Pos.X > SceneMan.SceneWidth then
self.Pos.X = 0;
elseif self.Pos.X < 0 then
self.Pos.X = SceneMan.SceneWidth;
end
end


Wed Aug 26, 2009 1:29 am
Profile

Joined: Fri Apr 06, 2007 10:11 pm
Posts: 45
Reply with quote
Post Re: Actors dies when walking through level seam, help
I think the problem may come from how stretched the engine thinks the actor is?

Like, say there's a scene 2000px wide.
One of the actor's legs is at 1998px (on x), and the other leg is at 2px (because it's across the seam) and let's say the body is at 1999.

I assume it does something to see if the leg is dislocated/too stretched, so the 1998 leg would be fine, but on the other leg, it think it's 1997px away. not sure how the equation works with JointStrength, but at that distance the force would be quite powerful, ripping apart the actor.

Just a theory.


Wed Aug 26, 2009 2:18 am
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 9 posts ] 

Who is online

Users browsing this forum: No registered users


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:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.
[ Time : 0.039s | 13 Queries | GZIP : Off ]