After a month or so I've finally got the constraints, torque and controls working enough to release a demo. But, because I'm using my own fixed build, I'm not releasing the blend file yet, just a video. Once I verify that it works with Erwin's 2.41 build, I'll post the blend file.
View the demo here: http://www3.telus.net/BulletBlender/
NEW p2p constraint demo blend file
-
- Posts: 15
- Joined: Sat Nov 05, 2005 9:50 pm
- Location: Edmonton, AB Canada
NEW p2p constraint demo blend file
Last edited by thinkofwhy on Sun Jan 15, 2006 1:45 am, edited 4 times in total.
-
- Posts: 16
- Joined: Wed Jul 13, 2005 10:32 am
- Location: London, United Kingdom
-
- Posts: 15
- Joined: Sat Nov 05, 2005 9:50 pm
- Location: Edmonton, AB Canada
Demo Description
You're correct fobsta, for use in the game engine, p2p constaints can only be applied via python.
And, that reminds me, maybe I should describe what's going on in the demo video. It's mostly python code, first of all. When the user presses one of the WASD keys the following occurs:
And, that reminds me, maybe I should describe what's going on in the demo video. It's mostly python code, first of all. When the user presses one of the WASD keys the following occurs:
- - a constaint is applied at each vertex location of the bottom edge of the current front face of the selected cube.
- then a global torque is applied to the cube on the axis which is perpendicular to the direction that the current front face is facing (by a call to the motion actuator).
- if the cube completely tips over, then the WASD directions (left, front, right and back) are re-mapped onto the tipped-over cube.
What took so long was getting the WASD mapping to work on a rolling cube.
-
- Posts: 15
- Joined: Sat Nov 05, 2005 9:50 pm
- Location: Edmonton, AB Canada
Multiple Dynamic p2p constraints
I've uploaded my build of the current bf-blender branch to the link above (1st post). It fixes the p2p constraints so that you can remove them. A blend file is coming soon.
-
- Posts: 15
- Joined: Sat Nov 05, 2005 9:50 pm
- Location: Edmonton, AB Canada
p2p demo blend file
See what Erwin's p2p constraints can do.
Experiment and have fun with the code. And post your feedback.
You'll have to use my blender build from the site as well. It's been fixed to enable constraint removal - which is a good thing. Enjoy
http://www3.telus.net/BulletBlender/
Experiment and have fun with the code. And post your feedback.
You'll have to use my blender build from the site as well. It's been fixed to enable constraint removal - which is a good thing. Enjoy
http://www3.telus.net/BulletBlender/
-
- Posts: 16
- Joined: Wed Jul 13, 2005 10:32 am
- Location: London, United Kingdom
Re: p2p demo blend file
Saw your post on Elysiun. We're having problems with a missing 'vector' module.thinkofwhy wrote:See what Erwin's p2p constraints can do.
Experiment and have fun with the code. And post your feedback.
You'll have to use my blender build from the site as well. It's been fixed to enable constraint removal - which is a good thing. Enjoy
http://www3.telus.net/BulletBlender/
-
- Posts: 15
- Joined: Sat Nov 05, 2005 9:50 pm
- Location: Edmonton, AB Canada
Missing vector module
Sorry , it didn't even occur to me to ensure that my local modules were included in the blend.
I've uploaded a new blend at the above link. It includes the vector module and should work.
Thanks for the post.
I've uploaded a new blend at the above link. It includes the vector module and should work.
Thanks for the post.
-
- Posts: 15
- Joined: Sat Nov 05, 2005 9:50 pm
- Location: Edmonton, AB Canada
Erwin's new build
UPDATE:
Erwin's latest build fixes the p2p constraint bugs.
So use that for my p2pCube.blend demo (at the above link) instead of my fixed build.
Erwin's latest build fixes the p2p constraint bugs.
So use that for my p2pCube.blend demo (at the above link) instead of my fixed build.