Main Search
Delta Corp Forum Index
 
 
FAQ Members Groups Profile Private Messages

Important Notice: We regret to inform you that our free phpBB forum hosting service will be discontinued by the end of June 30, 2024. If you wish to migrate to our paid hosting service, please contact [email protected].
part.Position = otherpart.CFrame.lookVector?

 
Post new topic   Reply to topic    Delta Corp Forum Index -> Script Requests
View previous topic :: View next topic  
Author Message
LuigiFan
Beginner Poster


Joined: 26 May 2008
Posts: 11

PostPosted: Wed May 28, 2008 3:35 am    Post subject: part.Position = otherpart.CFrame.lookVector? Reply with quote

I've wanted to know how to affect the position of a brick through the way a brick is facing. You can see this by checking out Stealth Pilot's community, his pets stay at a position depending on the way you face. Just curious as to how it works.
_________________


http://www.roblox.com/User.aspx?id=31132
Back to top
View user's profile Send private message Send e-mail
Nasadaws
Delta Corp Moderator


Joined: 27 Mar 2008
Posts: 484
Location: Under you bed Where else?

PostPosted: Wed May 28, 2008 6:11 am    Post subject: Reply with quote

Rocket Propulsion? With the cartoon factor right to the top.
_________________
Nasadaws Attack Spammer: Hits 100 Damage with his Ban Hama.
Spammer: Flees.


I R NOE WELDIN ME BAN HAMAR.
Back to top
View user's profile Send private message Send e-mail
kiddietron
Site Admin


Joined: 06 Feb 2008
Posts: 797
Location: On Roblox

PostPosted: Wed May 28, 2008 6:34 pm    Post subject: Reply with quote

If you put in BodyPosition then you can move it to the position right? But if you put in BodyGyro you can change the way it's facing. I think if you do something like

BodyGyro.cframe = Person.Torso.CFrame.lookvector it'll work.
_________________
�Kiddietron
�Phailing at making a signature

Free Money here just sign up and click away.
http://bux.to/?r=kiddietron

Spam is for noobs.

Back to top
View user's profile Send private message Send e-mail AIM Address
LuigiFan
Beginner Poster


Joined: 26 May 2008
Posts: 11

PostPosted: Fri May 30, 2008 6:16 am    Post subject: Reply with quote

Neutral Well, I know that, I mean like ALWAYS having a BodyPosition brick to your left no matter which way you stand. Normally if you try, the brick just stays dependent on the x axis.

e.g.: You make a floating brick that follows you -5x from your head making it behind your head. You turn and face the other position and it's all of a sudden behind you instead of in front.

If you do this with one of Stealth's pets however, it will always be behind you.
_________________


http://www.roblox.com/User.aspx?id=31132
Back to top
View user's profile Send private message Send e-mail
kiddietron
Site Admin


Joined: 06 Feb 2008
Posts: 797
Location: On Roblox

PostPosted: Fri May 30, 2008 6:44 pm    Post subject: Reply with quote

Ah yes, I have this as well. Back on my account Zephyrus. I have an AI testing. The AI bot will follow you when you use the follow control. But it will stay behind you not to your left or front.

cfram = Torso.CFrame
newcfram = cfram * CFrame.new(-2, 0, -4)

That's how I do it. Something like that.
_________________
�Kiddietron
�Phailing at making a signature

Free Money here just sign up and click away.
http://bux.to/?r=kiddietron

Spam is for noobs.

Back to top
View user's profile Send private message Send e-mail AIM Address
LuigiFan
Beginner Poster


Joined: 26 May 2008
Posts: 11

PostPosted: Fri May 30, 2008 10:11 pm    Post subject: Reply with quote

Thanks Smile
_________________


http://www.roblox.com/User.aspx?id=31132
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    Delta Corp Forum Index -> Script Requests All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Back to Top              
Jenova Template © digital-delusion.com
Powered by phpBB © 2001, 2002 phpBB Group



For Support - http://forums.BizHat.com

Free Web Hosting | Free Forum Hosting | FlashWebHost.com | Image Hosting | Photo Gallery | FreeMarriage.com

Powered by PhpBBweb.com, setup your forum now!