Ambiera ForumDiscussions, Help and Support. |
|
|
|||||
|
Hi! how can i make the player/camera float on the water surface? and how to simulate floating/swimming underwater? when moving from ground to water surface. Been mucking about with variables and gravity but not have much success.. |
||||
|
Sorrt currently coppercube doesn't support physics for buoyancy... But you can use the behavior to check altitude and by comparing it you can allow a player to dive or swim....hope that helps |
||||
|
ori wrote: Hi! how can i make the player/camera float on the water surface? and how to simulate floating/swimming underwater? when moving from ground to water surface. Been mucking about with variables and gravity but not have much success.. The best you can do is set the Gravity property of the root scene node to a low value when under water and back to the normal value when above water. Otherwise, its not really possible in CopperCube unless you are prepared to make your own Physics extension using scripting, |
||||
|
Unfortunately i can't seem to get any of the examples provided to work? |
||||
|
Sorrt currently coppercube doesn't support physics for buoyancy... But you can use the behavior to check altitude and by comparing it you can allow a player to dive or swim....hope that helps The best you can do is set the Gravity property of the root scene node to a low value when under water and back to the normal value when above water. Step by step tutorials of both these methods would be very helpful. Thanks. |
||||
|
There is a simple method. Create a plane just under the water that your player can walk on. If you need him to go bellow the plane, then simply hide the plane and the character will fall through |
||||
|
Funny! i tried this a while back now! along with many other simple and crazy ideas to simulate buoyancy on and under the water without scripting! but nothing really works particularly when trying to simulating a large bottomless ocean. Besides just a waist high patch of water. |
||||
|
Learn to script |
||||
|
Zoo wrote: Learn to script But what happened to making games with out coding? |
||||
|
This is the scripting section of forum. If you need to make game without coding make thread in help with coppercube seciton here https://www.ambiera.com/forum.ph... |
|