<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>https://wiki.gideros.rocks/index.php?action=history&amp;feed=atom&amp;title=R3d.SphereShape%3AsetRadius</id>
	<title>R3d.SphereShape:setRadius - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.gideros.rocks/index.php?action=history&amp;feed=atom&amp;title=R3d.SphereShape%3AsetRadius"/>
	<link rel="alternate" type="text/html" href="https://wiki.gideros.rocks/index.php?title=R3d.SphereShape:setRadius&amp;action=history"/>
	<updated>2026-11-17T22:39:45Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.11</generator>
	<entry>
		<id>https://wiki.gideros.rocks/index.php?title=R3d.SphereShape:setRadius&amp;diff=24968&amp;oldid=prev</id>
		<title>MoKaLux: Created page with &quot;&#039;&#039;&#039;Available since:&#039;&#039;&#039; Gideros 2019.10&lt;br/&gt; &#039;&#039;&#039;Class:&#039;&#039;&#039; R3d.SphereShape&lt;br/&gt;  === Description === Sets the radius of the collision sphere shape (fixture). &lt;syntaxhighligh...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.gideros.rocks/index.php?title=R3d.SphereShape:setRadius&amp;diff=24968&amp;oldid=prev"/>
		<updated>2025-12-19T03:32:06Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;&amp;#039;&amp;#039;&amp;#039;Available since:&amp;#039;&amp;#039;&amp;#039; Gideros 2019.10&amp;lt;br/&amp;gt; &amp;#039;&amp;#039;&amp;#039;Class:&amp;#039;&amp;#039;&amp;#039; &lt;a href=&quot;/index.php/R3d.SphereShape&quot; title=&quot;R3d.SphereShape&quot;&gt;R3d.SphereShape&lt;/a&gt;&amp;lt;br/&amp;gt;  === Description === Sets the radius of the collision sphere shape (fixture). &amp;lt;syntaxhighligh...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;#039;&amp;#039;&amp;#039;Available since:&amp;#039;&amp;#039;&amp;#039; Gideros 2019.10&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Class:&amp;#039;&amp;#039;&amp;#039; [[R3d.SphereShape]]&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Description ===&lt;br /&gt;
Sets the radius of the collision sphere shape (fixture).&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
r3d.SphereShape:setRadius(radius)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Parameters ===&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;radius&amp;#039;&amp;#039;&amp;#039;: (number) the new collision sphere shape radius&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Example ===&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
-- a ball&lt;br /&gt;
local ballobj = loadObj(&amp;quot;3d/balls&amp;quot;, &amp;quot;ball.obj&amp;quot;)&lt;br /&gt;
local ballvp = Viewport.new()&lt;br /&gt;
ballvp:setContent(ballobj)&lt;br /&gt;
ballvp.body = world:createBody(ballvp:getMatrix())&lt;br /&gt;
ballobj.shape = r3d.SphereShape.new(3)&lt;br /&gt;
ballobj.shape:setRadius(4)&lt;br /&gt;
ballvp.body:createFixture(ballobj.shape, nil, 64)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{R3d.SphereShape}}&lt;/div&gt;</summary>
		<author><name>MoKaLux</name></author>
	</entry>
</feed>