#Disable gravity using velocity set
1 messages · Page 1 of 1 (latest)
Gravity drags the right object down though
The magnitude of the velocity being set is based on distance so the object ends up at a hover point where gravity and the distance (ran through some math) are about the same
@fresh quarry how do you keep them still and stop them from shaking?
im using a set velocity to keep a object at a certain height but during the delta time the object keeps falling causing it to shake
how do i fix this?
Make it local, take authority or set authority, run it on Update not 30hz
If authority of the object let it run
ik i did the first to
Awsome
Okay, might be more smoother
A LOT BETTER but
their is some really tiny snaps
if i can't do anything
to fix it im happy like this but if their is more i can
do please explain
@ripe needle
Can you show a vid
Helps me out understand a bit better
how?
Record what's going on
Like 3 seconds or sum
Doesn't have to be long
ima load this on screen to make this a bit more easy
it started snapping a bit more that im on screen? idk why
@ripe needle
3+3+3+3+3+3+2=20 fair math
If at (Target pos) then cut off
oh so disable it if at location?
Yeah
should i use equal
For ecample Like if the target number is 5 if it's close enough. Like 4.9, 5,5.1, then yeah
ok ill try it 1 sec
Cool
Progress? Me curious
i can't find a number that works
and their is no "target location"
[for context it is meant to be a npc that moves towards you untill a set distance
So you're making an object follow the player right?
yes but it is meant to stop when 3 meters or closer
Simple, just once the distance has been met, then stop the updating
Unless its physical
it is
If the object is like affected by gravity
idk how to counter that
Okay imma try aomething
Nonworrys
So basically, an object follows you but needs to stay still right? Because it's physical
yea when it's in range [and to look at you but that works at the moment ]
Okay
well it is still meant to follow you floor height
Imma try something
?
BRB in 10 hours
Just use this system instead
Every last chip
if it faills i shall
my eyes might faill me
hard to read some of it but im tryingg
That's the height for the thing
It's set to 1.5
alright
It's on both split + create
Whatever numbers there if u change make sure they're the same
does a set transform change a position? or set it
[ik there is a rotation but overlooking that ]
@ripe needle
Yes
It sets the positions and rotation
It's set position + set rotation together
so a respawn? 2.0?
Respawn is like a set transform, except it can stop the velocity of that object and use rez effect.
If enabled
Yeah you could use it, but it stops the movement from carrying over after teleporting
It's up to u, it would be the same result I believe.
ima try to add it
Try using what I have already, if you think it needs it. Then replace the set transform
Okay
its just taking me a long time to redo
and also would need more added on to it so the ability works in game [but yea ill make it]
K
chips down wireing time
the image is for easier zoom in on my end
BAM
i did it [ i still have to get it in the game but if that works then yea it will work ]
by the way you swapped the rotations [it means nothing really i just thought tot say it]
@ripe needle
ill at again when i get it working or not working in the room
Alright cool
@ripe needle in short it works currently but i have to add a few other features [ i doubt it would break when i add them ] but ill re @/update you when the move is done and explain if there are or aren't any bugs [ in less short so far so good ]
Cool
i just wanna say the model is being animated so the features that will be added [ that might cuz bugs will take a bit ]
just to let you know @ripe needle
Should be fine ig
I'm assuming it does?
yea but then again it is not done [and i fear it breaking again as it gets complete because i doubt id know how to fix it ]
Just finish