Transition through portal with custom collision code

Ask about ACS, DECORATE, ZScript, or any other scripting questions here!

Moderator: GZDoom Developers

Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. If you still don't understand how to use a feature, then ask here.

Transition through portal with custom collision code

Postby Apeirogon » Fri Oct 16, 2020 2:42 pm

I have actor with custom collision code.
It have a problem, it dont moves through line/sector portals smoothly/at all. Is there are any through portal transitioning functions which was exported in Zscript?
User avatar
Apeirogon
I have a strange sense of humour
 
Joined: 12 Jun 2017

Re: Transition through portal with custom collision code

Postby Graf Zahl » Sat Oct 17, 2020 11:44 am

No. The portal transition is handled inside P_XYMovement and P_ZMovement. Some of its subfunctions are exported but be prepared for some serious work to pull it off.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
 
Joined: 19 Jul 2003
Location: Germany


Return to Scripting

Who is online

Users browsing this forum: No registered users and 0 guests