Skip to content
This repository has been archived by the owner on Oct 17, 2023. It is now read-only.

Create simple constraints for circle physics #25

Open
justgook opened this issue Jul 3, 2019 · 0 comments
Open

Create simple constraints for circle physics #25

justgook opened this issue Jul 3, 2019 · 0 comments
Labels
Projects
Milestone

Comments

@justgook
Copy link
Owner

justgook commented Jul 3, 2019

Objects with constraints should not be involved in main physics calculation, they should really only on master node (maybe)

  • Offset fixed x,y offset of master center
  • Distance - keep constant distance from master
  • Range - keep distance in range of master, when passing middle of range, each next frame try to reduce distance by half ( need have minimal step size, for threshold)

Would be really useful for multi part bosses, where head moves as master, and multiple parts follow it as snake..

@justgook justgook added the ShootEmUp shmup label Jul 3, 2019
@justgook justgook added this to the 2.0.0 milestone Jul 3, 2019
@justgook justgook added this to To do in ShootEmUp via automation Jul 3, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
ShootEmUp
  
To do
Development

No branches or pull requests

1 participant