<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[How to remove velocity&#x2F;speed kept from before saving position in cod jumper? I slide if I am moving when I load position.]]></title><description><![CDATA[<p dir="auto">I am using this code to load and save position. How can I make sure I do not slide when I load position if I am moving when I press useButtonPressed() ?</p>
<pre><code>if(self meleeButtonPressed() &amp;&amp; self isOnGround())
		{
			self.save1pos = self.origin;
			self.save1ang = self getPlayerAngles();
			self iPrintLn("Position 1 Saved.");
			wait 0.75;
		}

		

		else if(self useButtonPressed() &amp;&amp; self isOnGround())
		{
			// load position 1.
			self setOrigin(self.save1pos);
			self setPlayerAngles(self.save1ang);
			self iPrintLn("Position 1 Loaded.");
			wait 0.75;
		}		
</code></pre>
]]></description><link>https://forum.plutonium.pw/topic/20120/how-to-remove-velocity-speed-kept-from-before-saving-position-in-cod-jumper-i-slide-if-i-am-moving-when-i-load-position</link><generator>RSS for Node</generator><lastBuildDate>Mon, 18 May 2026 23:59:34 GMT</lastBuildDate><atom:link href="https://forum.plutonium.pw/topic/20120.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 07 May 2022 00:10:39 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to How to remove velocity&#x2F;speed kept from before saving position in cod jumper? I slide if I am moving when I load position. on Sat, 14 May 2022 18:48:22 GMT]]></title><description><![CDATA[<p dir="auto">add a call to SetVelocity.</p>
<pre><code>self setVelocity( 0, 0, 0 );
</code></pre>
]]></description><link>https://forum.plutonium.pw/post/80011</link><guid isPermaLink="true">https://forum.plutonium.pw/post/80011</guid><dc:creator><![CDATA[FutureRave]]></dc:creator><pubDate>Sat, 14 May 2022 18:48:22 GMT</pubDate></item></channel></rss>