|
| 07 Jun 2015 08:07 PM |
NOT BODYGYRO-- like CAN YOU PICTURE A CAMPFIRE? YOU KNOW HOW ALL THE LOGS ARE BASICALLY FACING THE SAME WAY? I WANT TO DO SOMETHING LIKE THAT
EXCEPT WITH SURFACEGUIS
CAN ANYONE HELP ON HOW TO DO THIS? |
|
|
| Report Abuse |
|
|
| |
|
|
| 09 Jun 2015 06:46 PM |
buu u u bmbpbbpmbpbpb ub mp
professional thinker - THE TAPPIER ARMY |
|
|
| Report Abuse |
|
|
|
| 09 Jun 2015 07:05 PM |
You really didn't explain your question with enough detail. Sticks in a campfire definitely do not point in the same direction, unless you're talking about like pointing towards the center (but again you didn't explain it good) |
|
|
| Report Abuse |
|
|
|
| 09 Jun 2015 07:10 PM |
@infortality LIKE BILLBOARDGUIS EXCEPT THEY DONT GET 'BIGGER' AND THEY DONT POINT UPWARDS
like, as you get farther they 'SHRINK'
professional thinker - THE TAPPIER ARMY |
|
|
| Report Abuse |
|
|
|
| 09 Jun 2015 07:13 PM |
Well, making an object point a certain direction you could do:
Part.CFrame=CFrame.new(Point1,Point2)
This situation will result in the part facing the points on opposing sides. |
|
|
| Report Abuse |
|
|
|
| 09 Jun 2015 07:16 PM |
@sword but doesnt it need 3 things? can u explain that little line for me? well, i understand it
but how would it work?
professional thinker - THE TAPPIER ARMY |
|
|
| Report Abuse |
|
|
|
| 09 Jun 2015 07:19 PM |
When using CFrame.new(), you can give it two points (Vector3 values). This will return a CFrame which has a position of the first point, and an orientation such that it points towards the second point.
E.g.:
point1 = Vector3.new(0,0,0) point2 = player.Character.Torso
part.CFrame = CFrame.new(point1, point2) --Part now has a position of 0,0,0, and if player is defined, it points at player. |
|
|
| Report Abuse |
|
|
|
| 09 Jun 2015 07:23 PM |
| Yeah don't be confused by the fact you can use a different number of argument in a function. They're called constructors and you can see them all for CFrame here: http://wiki.roblox.com/index.php?title=CFrame#Constructors |
|
|
| Report Abuse |
|
|
|
| 09 Jun 2015 07:29 PM |
ok thanks i got it now
professional thinker - THE TAPPIER ARMY |
|
|
| Report Abuse |
|
|