PortalGun
Allows to spawn portals using the UI or by pressing PageUp/PageDown
Update 27/3/21: Added custom models for portals, tweaked a few values and fixed a problem with shooting portals vertically
Preview image by enakc
Important notes:
You need at least 3/4 meters of distance from the wall (I’ll see if I can fix this without breaking more stuff)
The portal will be shot where the character is facing, not the camera(can’t acces that yet)
You can shoot portal in all directions, you’ll want to get in a seat to shoot it up or downwards
The portal will stick to surfaces, so in most cases it will be flush on the wall
Multiple players will get their own pair of portals
Once i’ll be able to apply force on the character i’ll include transfer of momentum