I'm on void, don't need to mess with anything like flatpak just use the app download from official site, works just as the windows version no drama, just works....
doesn't say its not possible, just no one is interested ?
coming from C and OpenDE things like joint angles are fairly fundamental - I guess I can make a scene with 2 nodes and calculate the angle from the nodes, but its a *real* shame Godot doesn't cover the fundamentals of physics use!
use body_shape_entered, you're in the script, with an id for the shape, have the static body as the scene parent with the attached script receiving the signal... a lot less complex and easier to maintain...
seems to be missing crucial parts, like what calls updating the path and how often, are you sure you're not creating the tween and then just recreating it next frame... ?
Can you tell us what it is you are actually trying to achieve ?
rather than funnelling down some narrow technical potential solution, giving more detail is more likely to lead to a better solution.
You may be better having a single body (for each "prop" / static entity / prefab call it what you will ! ) having multiple collision shapes, this way the body is the parent, save this as a scene and you can instantiate it anywhere you need the prop
additionally you can add exported properties with setter functions, this for example could allow you to assign a distinct material to the "prop" which then gets set to specific parts of the "prop"
no matter how small the "gap" light will get through, assuming the level is immutable it might be worth making a single contiguous model where the corridor floor/wall corners share vertices (I don't know for sure this will work but its worth a stab)
You might try putting the engines further apart and maybe slightly increasing the friction possibly changing the friction depending on velocity but that might be tricky, also graphically show the dot product of direction of travep and facing to see if that gives you any intuition
what part of this project would you like me to explain ?
"Like with an automod or something?" bloody good look coming up with the rules for this one !!!
yeah, that's kinda of lazy and shows how AAA studio's stopped caring and find it easier to spend more on marketing than developing...
you don't, just flip it upside down.... (tonic immobility has analgesic properties)
I'm on void, don't need to mess with anything like flatpak just use the app download from official site, works just as the windows version no drama, just works....
doh, double clicking the wrong thing!
Yep found the animations and everything....! *and* it lets me set an animation to looping !
I'm missing something double clicking on it warns its opening a new (instance?) as its an imported scene ?
Puffin Parcel Post.... so it that a Point to Point Protocol then
so not actually impossible then ;-)
doesn't say its not possible, just no one is interested ?
coming from C and OpenDE things like joint angles are fairly fundamental - I guess I can make a scene with 2 nodes and calculate the angle from the nodes, but its a *real* shame Godot doesn't cover the fundamentals of physics use!
get_parent, isn't the best of practice, as move something and it breaks!
setting "target" when you create the enemy, (pass the player to its _init func)
add a function to the player get_position() where you return the players position... return global_position()
use body_shape_entered, you're in the script, with an id for the shape, have the static body as the scene parent with the attached script receiving the signal... a lot less complex and easier to maintain...
well it was a good theory, but still behaves such that I still need to max the prev_vel and vel
I don't get why you have 2 static bodies, doesn't make sense
doh. forgot about physics_process !
nope, in the on_enter signal function, you velocity might be close to the speed you were doing or might just as easily be very tiny almost zero....
hard to read without proper indenting!
seems to be missing crucial parts, like what calls updating the path and how often, are you sure you're not creating the tween and then just recreating it next frame... ?
Can you tell us what it is you are actually trying to achieve ?
rather than funnelling down some narrow technical potential solution, giving more detail is more likely to lead to a better solution.
You may be better having a single body (for each "prop" / static entity / prefab call it what you will ! ) having multiple collision shapes, this way the body is the parent, save this as a scene and you can instantiate it anywhere you need the prop
additionally you can add exported properties with setter functions, this for example could allow you to assign a distinct material to the "prop" which then gets set to specific parts of the "prop"
typically it seemed to work at first
with
and finally this seems to be working - interesting how inconsistent the behavior is !
my pleasure! I assume you could have made the whole thing in blender (for example) as long as it was exported as a single gltf ...
let me know how you get on - I might need it myself later !
no matter how small the "gap" light will get through, assuming the level is immutable it might be worth making a single contiguous model where the corridor floor/wall corners share vertices (I don't know for sure this will work but its worth a stab)
do come back and let us know how it worked out for you....
I think you'd just be better just scrapping all that, rigid body has a gravity scale, set that to zero, and when you want it to fall set it to 1.0
You might try putting the engines further apart and maybe slightly increasing the friction possibly changing the friction depending on velocity but that might be tricky, also graphically show the dot product of direction of travep and facing to see if that gives you any intuition