# Random portal boost research page (used to be "what causes it"

**URL:** <https://forums.sourceruns.org/t/random-portal-boost-research-page-used-to-be-what-causes-it/2766>\
**Category:** Portal\
**Created:** [November 9, 2015, 6:24am UTC](https://forums.sourceruns.org/t/random-portal-boost-research-page-used-to-be-what-causes-it/2766 "2015-11-09T06:24:43Z")\
**Posts on this page:** 1\
**Page:** 2

<div class="post-metadata">

**Author:** ![SuperPcow](https://b-cdn.sourceruns.org/letter_avatar_proxy/v4/letter/s/51bf81/32.png) [@SuperPcow](https://forums.sourceruns.org/u/SuperPcow)\
**Post date:** [March 2, 2016, 4:35pm UTC](https://forums.sourceruns.org/t/random-portal-boost-research-page-used-to-be-what-causes-it/2766/21 "2016-03-02T16:35:30Z")

</div>

[Imanex’s least step run](https://www.youtube.com/watch?v=Jy2LoHRmBSw) is out now and it uses a couple of portal boosts. This got me thinking of something that could cause it.

Considering that Jukspa got a portal boost consistent in a TAS, I’m thinking that they are probably time based. The time at which we achieve a portal boost could be determined when we load a save, or shoot a portal. Probably when we shoot a portal, because EVERY portal boost I have seen have been achieved shortly after the portal is placed. The window of time that we have to achieve a portal boost is still unknown, but it’s probably VERY small considering that we can rarely get portal boosts. If this is true, then I think we could possibly create setups for portal boosts and they might be consistent. If people can get [this strat](https://www.youtube.com/watch?v=QRk8PHHw3u4) consistent, then we can definitely make some setups for portal boosts.

Edit:  
Another thing to consider is what YaLTeR said.

> [@YaLTeR](#):
>
> There is the normal player velocity which is used everywhere in player movement and there’s also the so called VPhysics object velocity, which I’m assuming is handled by the physics engine.
> 
> So when you’re teleported (CProp\_Portal::TeleportTouchingEntity) your VPhysics object velocity is copied into your normal velocity, which is the point where the portal boost happens (VPhysics object velocity is equal to that new, boosted velocity). VPhysics object is stuff handled by the VPhysics DLL which is black magic which we have no source code of. I tried printing the VPhysics object velocity of the player and it’s equal to some weird shit all the time. Unfortunately I’ve no idea how it works.

With this in mind, the distance from portal to portal must affect speed.

Not only speed, but it might also be easier to portal boost when the portals are farther away from each other because the game will have a harder time figuring out where you are and what your speed is.

[Previous page](https://forums.sourceruns.org/t/random-portal-boost-research-page-used-to-be-what-causes-it/2766.md?page=1)
