BEPU cookbook (draft)

Discuss any questions about BEPUphysics or problems encountered.
Post Reply
JusTiCe8
Posts: 52
Joined: Mon Jun 01, 2015 9:02 am

BEPU cookbook (draft)

Post by JusTiCe8 »

As it quite quiet these weeks, I think it's time to show my little draft of the BEPU cookbook, I first think of a typical O'Reilly cookbook (which are very great), with a very focused sample on one single common problem, a solution and some words of explanation and potential issue/improvement (regarding performance for example).

Topic are set according to my own needs and interest these past months (almost a year), if you try to find something related, try the links below, default phpBB search engine is really bad IMHO.

Feel free to add your own topics of interest by replying.

basic required maths:
viewtopic.php?f=4&t=1442

demos, classes, ...:
viewtopic.php?f=4&t=2137&p=12467&hilit= ... int#p12467

spaceship/ship:
viewtopic.php?f=4&t=756&p=5218&hilit=thruster#p5218

compound object/connected entities :
viewtopic.php?f=4&t=2085&p=12243&hilit= ... int#p12243

compoundbody components position:
viewtopic.php?f=4&t=1944&p=11400&hilit= ... try#p11400

staticmesh, mobilmesh, enity:
viewtopic.php?f=4&t=1250
http://bepu.nfshost.com/forum/viewtopic.php?f=4&t=1237


physics bubble:
viewtopic.php?f=4&t=2020&p=11924&hilit= ... int#p11924
viewtopic.php?f=4&t=2020&p=12107&hilit= ... ity#p12107
viewtopic.php?f=4&t=2020&p=11922&hilit= ... 312#p11922

(deactivating entities)
viewtopic.php?f=4&t=2325&p=13238&hilit= ... ity#p13238

boat:
viewtopic.php?f=4&t=1761&p=10363&hilit= ... int#p10363

2D physics:
viewtopic.php?f=4&t=425&p=4276&hilit=coordinates#p4276
viewtopic.php?f=4&t=1760&p=10329&hilit= ... rse#p10329
viewtopic.php?f=4&t=2326&p=13243&hilit= ... 9ce#p13243
viewtopic.php?f=4&t=1343&p=8152&hilit=P ... f9ce#p8152


big level/performance:
viewtopic.php?f=4&t=2141&p=12471&hilit= ... ect#p12471
viewtopic.php?f=4&t=2037&p=11972&hilit= ... tes#p11972


beginner help, character controller, picking objects, ...:
viewtopic.php?f=4&t=1644&hilit=use+custom+mesh

fluid volume:
viewtopic.php?f=4&t=1894&p=11066&hilit= ... ity#p11066
viewtopic.php?f=4&t=2281&p=13062&hilit= ... box#p13062

magnet:
viewtopic.php?f=4&t=860&p=5565&hilit=en ... lane#p5565
viewtopic.php?f=5&t=2149&p=12507&hilit=magnetism#p12507

terrain:
viewtopic.php?f=4&t=2212
viewtopic.php?f=4&t=2199
http://bepu.nfshost.com/forum/viewtopic.php?f=4&t=1383
viewtopic.php?f=4&t=1582&p=9252&hilit=c ... e312#p9252
viewtopic.php?f=4&t=991&p=6179&hilit=fl ... 1450#p6179
JusTiCe8
Posts: 52
Joined: Mon Jun 01, 2015 9:02 am

Re: BEPU cookbook (draft)

Post by JusTiCe8 »

(split because max URL set to 30/post :( )

grappling hook:
viewtopic.php?f=4&t=2330

impulse:
viewtopic.php?f=4&t=2318


camera/custom camera:
viewtopic.php?f=4&t=2193&p=12659&hilit= ... ity#p12659


concave world/object:
viewtopic.php?f=4&t=1109&p=6874&hilit=d ... ided#p6874


movement, linearvelocity and gravity:
viewtopic.php?f=4&t=1897&p=11074&hilit= ... ing#p11074

conveyor:
viewtopic.php?f=4&t=1816&p=10671&hilit= ... ing#p10671

flying character:
viewtopic.php?f=4&t=1861&p=10913&hilit= ... ing#p10913

arrow/linear velocity/orientation:
viewtopic.php?f=4&t=1791&p=10509&hilit= ... ing#p10509


collisions/anomalies:
viewtopic.php?f=4&t=1764&p=10372&hilit= ... uff#p10372


movements prediction:
viewtopic.php?f=4&t=1587&p=9313&hilit=c ... tuff#p9313

trigger/collision check/detection/events on collision:
viewtopic.php?f=4&t=1943&p=11396&hilit=trigger#p11396
viewtopic.php?f=4&t=1866&p=10948&hilit=trigger#p10948
viewtopic.php?f=4&t=2211&p=12733&hilit= ... ity#p12733


complex force implementation/wind/Crosssection:
viewtopic.php?f=4&t=1812&p=10646&hilit=trigger#p10646

weldjoint, grouping entities/shapes:
viewtopic.php?f=4&t=2058&p=12160&hilit=weldjoint#p12160
viewtopic.php?f=4&t=1889&p=11050&hilit=weldjoint#p11050

CoM:
viewtopic.php?f=4&t=1799&p=10557&hilit= ... ape#p10557


precision/floating point limit issue:
viewtopic.php?f=4&t=991&p=6179&hilit=fl ... 1450#p6179
viewtopic.php?f=4&t=1853&p=10863&hilit= ... ion#p10863
viewtopic.php?f=4&t=971&p=6074&hilit=fl ... 1450#p6074

timesteps/XNA/BEPU /ballistic/collision detection by raycast:
viewtopic.php?f=4&t=1841&p=10795&hilit= ... ion#p10795

motor/constraints:
viewtopic.php?f=4&t=1991&p=11600&hilit= ... tor#p11600

rotation/offset:
viewtopic.php?f=4&t=1353&p=8185&hilit=cannon#p8185

moving in one direction/some basic stuff about rotation/vectors
viewtopic.php?f=4&t=2007&p=11775&hilit= ... rix#p11775
viewtopic.php?f=4&t=2162&p=12575&hilit= ... rix#p12575
(viewtopic.php?f=4&t=1237&p=7514&hilit=a ... trix#p7514)

disable entity:
viewtopic.php?f=4&t=1893&p=12013&hilit= ... act#p12013
viewtopic.php?f=4&t=1945&p=11402&hilit=buoyancy#p11402

joint wobbling:
viewtopic.php?f=4&t=1665&p=9807&hilit=W ... ssue#p9807
JusTiCe8
Posts: 52
Joined: Mon Jun 01, 2015 9:02 am

Re: BEPU cookbook (draft)

Post by JusTiCe8 »

entity spinning:
viewtopic.php?f=4&t=941&p=5924&hilit=en ... pact#p5924

impulse/Active state of entity:
viewtopic.php?f=4&t=2222&p=12787&hilit= ... ate#p12787
viewtopic.php?f=4&t=1971&p=11531&hilit=buoyancy#p11531

rotate on an axis, cap speed:
http://bepu.nfshost.com/forum/viewtopic ... 95&p=12276

joint strength/spring damping:
viewtopic.php?f=4&t=1073&p=6679&hilit=j ... ngth#p6679
viewtopic.php?f=4&t=1994&p=11618&hilit= ... gth#p11618

morphable entity/reuse of shape:
viewtopic.php?f=4&t=1176&p=7162&hilit=morphable#p7162

EntityMover/path:
viewtopic.php?f=4&t=1684&p=9921&hilit=path#p9921

frisbee/aero/magnus effect/... :
viewtopic.php?f=4&t=1770&p=10405&hilit=path#p10405

chain/contraint:
viewtopic.php?f=4&t=1749

raycast:
viewtopic.php?f=4&t=1915&p=11269&hilit=raycast#p11269
viewtopic.php?f=4&t=1783&p=10476&hilit=raycast#p10476
viewtopic.php?f=4&t=1742&p=10229&hilit=raycast#p10229

prevent rotation on one/all axis:
viewtopic.php?f=4&t=1668&p=9814&hilit=+ ... tion#p9814
viewtopic.php?f=4&t=1681&p=9888&hilit=+ ... tion#p9888
viewtopic.php?f=4&t=329&p=3766&hilit=Lo ... erse#p3766

collisions:
viewtopic.php?f=4&t=2056&p=12033&hilit= ... ion#p12033
viewtopic.php?f=4&t=1681&p=9886&hilit=L ... erse#p9886

?? misc:
viewtopic.php?f=4&t=2137&p=12467&hilit= ... rse#p12467

LocalInertiaTensorInverse explained:
viewtopic.php?f=4&t=1550&p=9133&hilit=L ... erse#p9133

fluidvolume customization/add waves:
viewtopic.php?f=4&t=1910&p=11162&hilit=buoyancy#p11162

material/friction:
viewtopic.php?f=4&t=1868&p=10966&hilit= ... sic#p10966

vehicle angled suspension:
viewtopic.php?f=4&t=2026&p=11957&hilit= ... ity#p11957

vehicle steering:
viewtopic.php?f=4&t=1693&p=10047&hilit= ... 028#p10047

forces, apply forces:
viewtopic.php?f=4&t=2318&p=13215&hilit= ... ces#p13215
viewtopic.php?f=4&t=1689&p=9941&hilit=get+forces#p9941

additionnal engine settings:
viewtopic.php?f=4&t=1770&p=10445&hilit= ... ces#p10445

vehicule:
viewtopic.php?f=4&t=664&p=5034&hilit=weight#p5034

static group/collision events:
viewtopic.php?f=4&t=2343&p=13306&hilit= ... ent#p13306
JusTiCe8
Posts: 52
Joined: Mon Jun 01, 2015 9:02 am

Re: BEPU cookbook (draft)

Post by JusTiCe8 »

and the last two:

octree/custom octree used in BEPU:
viewtopic.php?f=4&t=301&p=3581&hilit=li ... ntum#p3581

constraint applied impulse (in local or world space)
viewtopic.php?f=4&t=2394
Norbo
Site Admin
Posts: 4929
Joined: Tue Jul 04, 2006 4:45 am

Re: BEPU cookbook (draft)

Post by Norbo »

Nice work :)
Post Reply