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?
Transition through portal with custom collision code
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.
Please bear in mind that the people helping you do not automatically know how much you know. You may be asked to upload your project file to look at. Don't be afraid to ask questions about what things mean, but also please be patient with the people trying to help you. (And helpers, please be patient with the person you're trying to help!)
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.
Please bear in mind that the people helping you do not automatically know how much you know. You may be asked to upload your project file to look at. Don't be afraid to ask questions about what things mean, but also please be patient with the people trying to help you. (And helpers, please be patient with the person you're trying to help!)
- Graf Zahl
- Lead GZDoom+Raze Developer
- Posts: 49067
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: Transition through portal with custom collision code
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.
Re: Transition through portal with custom collision code
Awwwww....
Looks like it will be with hack "if hit portal wait one tick (for renderer interpolation) then warp to exit portal like nothing happened" for some time. Hope nobody notice it.
Looks like it will be with hack "if hit portal wait one tick (for renderer interpolation) then warp to exit portal like nothing happened" for some time. Hope nobody notice it.