AshRPG12Join Date: 2013-08-30 Post Count: 238 |
game.Workspace.deeznuts.Part.Changed:connect(function(angles)
script.Parent.CFrame = Vector3.new(game.Workspace.Balloon.Part.Rotation)
end)
Output Error:
Workspace.Part.Script:2: bad argument #3 to 'CFrame' (CFrame expected, got Vector3)
me: ???
me: well rip me
|
|
AshRPG12Join Date: 2013-08-30 Post Count: 238 |
i foud lookVector as a possible solution but not know how to use :P
|
|
|
script.Parent.CFrame = CFrame.new(Vector3.new(game.Workspace.Balloon.Part.Rotation))
Try that.
|
|
AshRPG12Join Date: 2013-08-30 Post Count: 238 |
this script is done wrong, im looking for the ability to move the angles of the object (Script.Parent) to face where the "Part" of deeznuts is
dont worry about "Balloon", because its not a mistake i just changed the function name during this thread making .3.
|
|
|
game.Workspace.deeznuts.Part.Changed:connect(function(property)
script.Parent.Rotation = game.Workspace.Balloon.Part.Rotation
end)
|
|
AshRPG12Join Date: 2013-08-30 Post Count: 238 |
mhmmmm setting cframe.angles?
|
|
AshRPG12Join Date: 2013-08-30 Post Count: 238 |
btw is there a video or topic where i can make the object automatically rotate to the nearest object it is near with a specific objectvalue in it? thank you!
I make the smallest mistakes af tho
~ballsBALLSSSSS~
|
|
AshRPG12Join Date: 2013-08-30 Post Count: 238 |
bcuz im not using invisible parts with 'touched' event functions because its literally not fast enough to detect everything
|
|
AshRPG12Join Date: 2013-08-30 Post Count: 238 |
nvm i only wanted the part to change angle not to rotate upside down or on its side, just facing the part
xloadinq will always be fat |
|
|
Change angle as in make it's lookVector point towards the other part called "deeznuts"? |
|
AshRPG12Join Date: 2013-08-30 Post Count: 238 |
ye im new to lookVector and i found it
xloadinq 2fat4u
xloadinq 2fat4u
xloadinq 2fat4u
xloadinq 2fat4u |
|
TimeTicksJoin Date: 2011-04-27 Post Count: 27115 |
lol
gyazo.com/f91edb6020352051ffe5f1b2dacd5ac5 |
|