machoX5Join Date: 2011-09-14 Post Count: 8840 |
I'm trying to make it so it will be able to float without falling.
But yet if I anchore the object, the velocity won't work.
-The script- [ This is for hopperbin ]
player = script.Parent.Parent.Parent
bin = script.Parent
enabled = true
Amt = 5
function onButton1Down(mouse)
if enabled == true then
enabled = false
if mouse.Target ~= nil then hit = mouse.Target
if hit.Name == "TP" or hit.Name == "Parter" then
if hit.Name == "TP" and hit.Finder.Value == player.Name or hit.Name == "Parter" and hit.Owner.Value == player.Name then
g = Instance.new("Part")
c = Instance.new("StringValue")
c.Name = "Owner"
c.Value = player.Name
print("VALUE:" ..c.Value)
g.Name = "Parter"
c.Parent = g
g.FormFactor = 0
g.Size = Vector3.new(1,1,1)
g.Velocity = Vector3.new(0, 50, 0)
g.Anchored = false
g.CanCollide = true
=Fewd i awsom= |
|
|
|
"Disregards physics"
What about touching things / things touching it?
It only disregards moving (Unless you change its position / CFrame, but then you are really just fixing it into another place) |
|
|
Oh also, unanchor the part and use a body force |
|
sycipsJoin Date: 2011-03-21 Post Count: 1368 |
part = script.Parent
BodyForce.force = Vector3.new(0,196.2*part:GetMass(),0)
Maybe this helps ;) |
|
|
No it doesn't help that makes it weightless not float up |
|
sycipsJoin Date: 2011-03-21 Post Count: 1368 |
'I'm trying to make it so it will be able to float without falling'
Does that say it has to float up? NO! |
|
|
"I'm trying to make it so it will be able to float without falling."
Plus he set the velocity to something that would make the part go up |
|
sycipsJoin Date: 2011-03-21 Post Count: 1368 |
Yes, that means he wants the part to go up with a constant speed, simpel as that! |
|
|
Thats not what you did though. You made it stay in one place unless something forced it up. |
|
sycipsJoin Date: 2011-03-21 Post Count: 1368 |
yes i know, I also didn't say I gave the whole script. I only said that those 2 lines may help him... ARE YOU STUPID OR WHAT THAT YOU CAN'T UNDERSTAND THAT IDIOT! NOW SHUT THE HELL UP ABOUT THIS ALREADY!!! |
|
|
You get angry easily. Take a chill pill. You didn't help with the 2 lines you posted. |
|
Bebee2Join Date: 2009-05-17 Post Count: 3985 |
If you're dealing with velocity, of course anchored would not be affected by velocity.
Although, on the contrary, you need to anchor the part to change it's velocity if it is already "moving..." then you set it back to off.
|
|
sycipsJoin Date: 2011-03-21 Post Count: 1368 |
I dont think you have to anchor the part... scripts for example which use velocity to jump the player in the air dont anchor the characters parts and still its going up...
And scriptural, youre just annoying, a better cure for me would be that youd just go out of this thread... And dude, I werent supposed to help you with those 2 lines, because youre obviously unhelpable xD |
|
|
It wasn't meant to help me now was it smartass? It was supposed to help op and it didn't.
All you ever do is post crap scripts and rage, why don't you just leave? You aren't helpful and don't want help. You have no reason to be here. |
|
sycipsJoin Date: 2011-03-21 Post Count: 1368 |
How do you know it didn't help him? He didn't even reply. Or was that just an argument you made up because you can't come with anything better? xD Just shut the hell up yourself and go away. Basing your argumentation on stuff you don't even know is the worst you can do. Get the hell out idiot! |
|
chicka123Join Date: 2008-07-05 Post Count: 25356 |
sycips, please stop acting like a 12 year old snob. |
|
|
I couldn't come up with something better?
I posted the same thing (Without providing the code, and your code didn't do what he wanted but at least implied to use bodyforce) right before you posted. |
|
AgentFirefoxTop 100 PosterJoin Date: 2008-06-20 Post Count: 22404 |
Use a BodyPosition object. :) |
|
sycipsJoin Date: 2011-03-21 Post Count: 1368 |
But Scriptural, if i did the exact same thing as you, but you only didn't give the code, then what the hack is your problem? how did I not help and you did if we did the same thing? |
|
|
I love how Agent is the only one who helped the OP.
#GoodGuyAgent |
|
|
@sycips & Scriptural
You both get out. Stop bringing fights where ever you go. From the op's problem is finished, then there's another problem that has been created. |
|
|
@Izz
He starts every problem by acting like a stuck up know it all.
And you didn't help because what you posted was already said. |
|
sycipsJoin Date: 2011-03-21 Post Count: 1368 |
Excuse me for going into a 'fight' with Scriptural.
Yes, I didn't know the op wanted that... I didn't understand the question, so I gave wrong help, I'm sorry for that...
Scriptural, You're still a jackass and you'll always be. The fact that you posted 'earlier' doesn't mean I didn't help... I just gave the same help (in a different way btw).
I'll get out of this thread now, unless scriptural keeps offending me! I'm good in general, but I don't like being offended and I won't take it if such a baby as him is saying stuff like 'You're scripts are rubbish'!
Again, I'm sorry if some posters/readers read all this. I didn't mean to annoy anyone D:
~sycips~ |
|
mic144Join Date: 2009-10-14 Post Count: 1598 |
woot forum fight!! EVERYONE GATHER AROUND A CIRCLE AND LET THE GRAMMAR FEST BEGIN!
-- $$ Get on my level, here use this ladder. Don't fall down on the way up! $$ -- |
|