Hi there!
I'm trying to make a fancy elevator that can pass through level geometry but is still usable by the player.
It's a 3d model using radius and height for the collision.
I'd need it to be able to pass through 3d floors and other level geometry but I can't seem to figure out how to do that. It keeps colliding with everything and +NOCLIP and +NOINTERACTION disable collision with the player.
Is this possible?
Thanks in advance!
Can you make an actor that only collides with players
Moderators: GZDoom Developers, Raze 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.
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.
- Graf Zahl
- Lead GZDoom+Raze Developer
- Posts: 49225
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: Can you make an actor that only collides with players
You'll have to override the CanCollideWith method in ZScript where you can check if the actor it's colliding with is a player - return true for players and false for non-players.