Search found 92 matches
- Sun Aug 04, 2019 12:34 am
- Forum: Questions and Help
- Topic: Bepu v2 Character Controllers
- Replies: 89
- Views: 486093
Re: Bepu v2 Character Controllers
I have 3 problem. 1 I tried option 1 that fix view direction axis. In main project it move correctly for a second before change direction. I try to build stand alone for you to look at. But not success to replicate problem. So today and maybe tomorrow I will try to replicate problem. 2 I in update c...
- Sat Aug 03, 2019 3:52 am
- Forum: Questions and Help
- Topic: how could i know if it run correctly with linux server no graphic
- Replies: 28
- Views: 36520
- Fri Aug 02, 2019 3:24 pm
- Forum: Questions and Help
- Topic: how could i know if it run correctly with linux server no graphic
- Replies: 28
- Views: 36520
Re: how could i know if it run correctly with linux server no graphic
I want to sync physic client and server.
I use unity for client.
I try to also use bepu in unity but I can't use vector<float>
Can I use bepuphysic2 in unity? If not how can I tell unity when it is slide of other object.
Thank you.
I use unity for client.
I try to also use bepu in unity but I can't use vector<float>
Can I use bepuphysic2 in unity? If not how can I tell unity when it is slide of other object.
Thank you.
- Thu Aug 01, 2019 2:26 am
- Forum: Questions and Help
- Topic: Bepu v2 Character Controllers
- Replies: 89
- Views: 486093
Re: Bepu v2 Character Controllers
Oh thank you. I think i will try second option.
- Wed Jul 31, 2019 9:24 am
- Forum: Questions and Help
- Topic: Bepu v2 Character Controllers
- Replies: 89
- Views: 486093
Re: Bepu v2 Character Controllers
Is view direction is rotational direction of object? I munipulate target velocity(x-y) but I can't pair vector 2 to 2/3 axis of vector3. If i change view direction it also shuffle pair of x or y to vector3. I can't pair x of vector2 to x of vector3 and y of vector2 to z of vector3. How can I use bep...
- Tue Jul 30, 2019 4:49 am
- Forum: Questions and Help
- Topic: Bepu v2 Character Controllers
- Replies: 89
- Views: 486093
Re: Bepu v2 Character Controllers
Thank you. It work. Is it magic? How could it work
- Mon Jul 29, 2019 11:13 am
- Forum: Questions and Help
- Topic: Bepu v2 Character Controllers
- Replies: 89
- Views: 486093
- Sun Jul 28, 2019 9:18 am
- Forum: Questions and Help
- Topic: Bepu v2 Character Controllers
- Replies: 89
- Views: 486093
Re: Bepu v2 Character Controllers
I make some change to update character goal by remove camera and change input to vector 2 instead internal void UpdateCharacterGoals(System.Numerics.Vector2 velocity, System.Numerics.Vector3 viewDirection, float simulationTimestepDuration) { var movementDirectionLengthSquared = velocity.LengthSquare...
- Sun Jul 28, 2019 7:58 am
- Forum: Questions and Help
- Topic: Bepu v2 Character Controllers
- Replies: 89
- Views: 486093
Re: Bepu v2 Character Controllers
Update
After send simulation to it is not error anymore but I can't still move it.
After send simulation to it is not error anymore but I can't still move it.
- Sun Jul 28, 2019 7:52 am
- Forum: Questions and Help
- Topic: Bepu v2 Character Controllers
- Replies: 89
- Views: 486093
Re: Bepu v2 Character Controllers
I use Simulation.Create with TNarrowPhaseCallbacks from carDemo and TPoseIntegratorCallbacks from characterDemo.
So I didn't send characters to narrow phase callback. When I use characters.Simulation it is null. I need to send simulation to constructor of character input isn't it.
So I didn't send characters to narrow phase callback. When I use characters.Simulation it is null. I need to send simulation to constructor of character input isn't it.
- Sun Jul 28, 2019 5:43 am
- Forum: Questions and Help
- Topic: Bepu v2 Character Controllers
- Replies: 89
- Views: 486093
Re: Bepu v2 Character Controllers
Thank you norbo.
- Sat Jul 27, 2019 5:37 am
- Forum: Questions and Help
- Topic: Bepu v2 Character Controllers
- Replies: 89
- Views: 486093
Re: Bepu v2 Character Controllers
Um, is it intention? I comment movemnt in character demo and add var reference = Simulation.Bodies.GetBodyReference(bodyHandle); reference.Velocity.Linear = new Vector3(1,0,0); It is passthrought that lizard? What does awake do? When I am make it true it done nothing. If it false it sleep. Oh It see...
- Sat Jul 27, 2019 2:12 am
- Forum: Questions and Help
- Topic: Bepu v2 Character Controllers
- Replies: 89
- Views: 486093
Re: Bepu v2 Character Controllers
Thank you. I feel like i'm silly after look how easy you munipulate velocity.
Oh you write it for me. Thank you very much
Oh you write it for me. Thank you very much
- Fri Jul 26, 2019 10:18 am
- Forum: Questions and Help
- Topic: Bepu v2 Character Controllers
- Replies: 89
- Views: 486093
Re: Bepu v2 Character Controllers
How can I munipulate velocity directly. Thank you. I try to look into characterdemo. I look into it until I struck at target velocity. I can't find what I want.
- Thu Jul 25, 2019 6:38 am
- Forum: Questions and Help
- Topic: How can I make player detector not affect by gravity
- Replies: 14
- Views: 24688
Re: How can I make player detector not affect by gravity
Find position of object
var position = new BepuPhysics.BodyReference(bodyHandle, Simulation.Bodies).Pose.Position
var position = new BepuPhysics.BodyReference(bodyHandle, Simulation.Bodies).Pose.Position