realbasic-games
[Top] [All Lists]

Re: trimesh particles demo, version 2

To: realbasic-games at lists dot realsoftware dot com
Subject: Re: trimesh particles demo, version 2
From: "Lars Jensen" <larsjensen at gmail dot com>
Date: Mon, 16 Oct 2006 18:04:39 -0700
Delivered-to: listarchive at realsoftware dot com
Delivered-to: realbasic-games at lists dot realsoftware dot com
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=Ft6bIY3/SFSPppFpi3w8kBIQgr6XSyjr1/A2PJah1BoGqqfFHgLS/RPqYOUTu1b9p+HnzNwZeF6/2nkLaTgw6WwGsu+Ipyl6n9GDOSmd6rvy44Gw25sLGc3FI7Mc61RUml8WKzqD6mIopcfzNz8a9i3qq88msMs9urI+csNi9Pc=
Oh, as to Lars' use of a function to create a spherical burst, I just
realized you can also do it by normalizing, ie: Add in the constructor:
     Direction.Append New Vector3D(Rnd-0.5, Rnd-0.5, Rnd-0.5)
     Direction(i).Normalize

Hey good point! Much simpler than my way.

lj
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>


<Prev in Thread] Current Thread [Next in Thread>