Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stand alone: Move rackets by modifying velocity instead of positions #12

Open
tapanij opened this issue Dec 31, 2013 · 0 comments
Open

Comments

@tapanij
Copy link
Contributor

tapanij commented Dec 31, 2013

That means we also need to use bullet slider constraint so the rackets can't float away after collision when we have more than two players, linear factor doesn't do the trick then.

wiki page: http://bulletphysics.org/mediawiki-1.5.8/index.php/Constraints
how it works: http://www.bulletphysics.org/Bullet/phpBB3/viewtopic.php?f=9&t=2106
how physijs uses it: https://github.com/html5rocks/www.html5rocks.com/pull/366/files
c++ demo: https://gitorious.org/bullet/mainlinemirror/source/b395f81108e8ba1c566fd7ab4ecb316e6fc5e261:Demos/SliderConstraintDemo/SliderConstraintDemo.cpp#L295

Not implemented yet in tundra? https://github.com/realXtend/naali/search?q=sliderConstraint&ref=cmdform

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant