|
| 07 Dec 2012 12:07 PM |
So far we have SelectionPartLasso and SelectionPointLasso. But there is no SelectionRayLasso.
A SelectionRayLasso will not need a Humanoid to work. It will use PointA and PointB to draw the line. (Vector3 Values) (The Transparency also needs fixing. It don't work.) Also add Reflectance to it/them as well.
This will make it easier to make tools like Laser guns. You also wont need to a Humanoid or any Bricks to make it work. This is needed for any one who wants to easily make Vector3 lines in Roblox.
We need something like this:
local LaserBeam = Instance.new("SelectionRayLasso") LaserBeam.Transparency = 0.5 LaserBeam.Color = BrickColor.new("Really red") LaserBeam.PointA = script.Parent.Handle.Position LaserBeam.PointB = Mouse.Hit.p LaserBeam.Parent = script.Parent game:GetService("Debris"):AddItem(LaserBeam, 1)
-OR-
local LaserBeam = Instance.new("SelectionRayLasso") LaserBeam.Transparency = 0.5 LaserBeam.Color = BrickColor.new("Really red") LaserBeam.Ray[1] = script.Parent.Handle.Position LaserBeam.Ray[2] = Mouse.Hit.p LaserBeam.Parent = script.Parent game:GetService("Debris"):AddItem(LaserBeam, 1)
Note: This is not a how to. Currently there is no "SelectionRayLasso" yet. I am asking Roblox to make one.
|
|
|
| Report Abuse |
|
|
|
| 07 Dec 2012 12:22 PM |
Never thought about something like that...
Honestly though we need more functions for drawing objects in a 3D environment as parts are simply too laggy if they are only used for looks and not for physics. A lack of Velocity, CanCollide, Anchored, RotVelocity, Specific Gravity, Elasticity, Friction, Surfaces, Surface Inputs, GetMass, BreakJoints, MakeJoints, Touched, TouchEnded and StoppedTouching could greatly decrease lag in games which use them in oppose to parts that simply have cancollide false. |
|
|
| Report Abuse |
|
|
froylin3
|
  |
| Joined: 11 Aug 2010 |
| Total Posts: 1672 |
|
| |
|
| |
|
sage296
|
  |
| Joined: 20 Feb 2009 |
| Total Posts: 17906 |
|
|
| 07 Dec 2012 01:11 PM |
This would actually work,
Support.
~Sage The Egglien~ |
|
|
| Report Abuse |
|
|
incredy
|
  |
| Joined: 18 May 2011 |
| Total Posts: 7764 |
|
|
| 07 Dec 2012 01:26 PM |
But we has Default Laser with Meshes D:
PS: Nvm Lol. Support!
~Breeding my Gift~ |
|
|
| Report Abuse |
|
|