Could someone tell me how to get this. I saw a bobbing weapon script on Unity asset store but not bobbing boat.
Bobbing boat script.
#1
Posted 24 October 2019 - 09:25 PM
PC specs...
Intel core I7 9700k 3.6 GHZ-Turbo 4.9 GHZ
64 GB Corsair vengeance LPX DDR4 2400 MHZ
Asus PRIME Z390-P
Nvidea GeForce RTX 2060 6GB
X box 360 wired controller
Windows 10 PRO NA 64 bit
#2
Posted 24 October 2019 - 10:13 PM
Instead, I would handle this with simple Unity animation keyframes. Below is a video that should give you an idea on what you could do.
https://youtu.be/BVH-CCLzD_E
Justin, NoPutt, Jimbobh, and DogGs have all had some animations on their courses, maybe they will chime in with some thoughts.
#3
Posted 25 October 2019 - 12:06 AM
As far as I know, the flock of birds script is really the only third party script that can be used for animations.
Instead, I would handle this with simple Unity animation keyframes. Below is a video that should give you an idea on what you could do.
https://youtu.be/BVH-CCLzD_E
Justin, NoPutt, Jimbobh, and DogGs have all had some animations on their courses, maybe they will chime in with some thoughts.
Thanks Matt but I have the animation running fine i.e. moving the boat from A to B and that is smooth and on a single level.There's no rise and fall that a real boat would do. But I have some faint memory that someone mentioned a seperate "bobbing boat" script which I assume makes the boat "bob" as it moves from A to B.
PC specs...
Intel core I7 9700k 3.6 GHZ-Turbo 4.9 GHZ
64 GB Corsair vengeance LPX DDR4 2400 MHZ
Asus PRIME Z390-P
Nvidea GeForce RTX 2060 6GB
X box 360 wired controller
Windows 10 PRO NA 64 bit
#4
Posted 25 October 2019 - 08:49 AM
There may be a script, but it won't work in JNPG.
Getting the boat to twist and oscillate on a vertical
axis, (yaw), would be a hassel with the animator, but
have you considered using the Ocean Waterplane?
It rises and falls, and can be adjusted to look
like a lake or pond.
Dry Gulch...................Released Smithfield Golf Club...........Released
Millstone Golf Club....Released The Walker Course............Released
Kingsmill Woods Course...Released Pine Lake Golf Club..........Released
Woodhaven Golf Club (9) Released The Reserve at Keowee...Released
Cliffs at Keowee Vineyards..Released The Ace Club...................Released
Dry Gulch 2..........Released Blackberry Oaks.............Released
#5
Posted 25 October 2019 - 11:06 AM
I'm using MJOceanWater for the ocean. Is that something different.
PC specs...
Intel core I7 9700k 3.6 GHZ-Turbo 4.9 GHZ
64 GB Corsair vengeance LPX DDR4 2400 MHZ
Asus PRIME Z390-P
Nvidea GeForce RTX 2060 6GB
X box 360 wired controller
Windows 10 PRO NA 64 bit
#6
Posted 26 October 2019 - 02:08 PM
I once did and posted a script for a bobbing boat, but we soon discovered (like DPR and NoPutt have mentioned above), scripts will not get built into your course - because feasiblity they could be use to cheat.
So your boat will bob around ok in the editor, but not when you actually build and play your course.
You might however find some store asset that has the ability to keyframe script based motion, or you could manually keyframe the positions a bobbing script moves your boat to.
#7
Posted 26 October 2019 - 08:28 PM
Thanks.
PC specs...
Intel core I7 9700k 3.6 GHZ-Turbo 4.9 GHZ
64 GB Corsair vengeance LPX DDR4 2400 MHZ
Asus PRIME Z390-P
Nvidea GeForce RTX 2060 6GB
X box 360 wired controller
Windows 10 PRO NA 64 bit
#8
Posted 27 October 2019 - 12:37 PM
You can simply make it bob by rising, lowering and rotating it in the same key frames in the animation controller. I did something similar with a sail boat in my Ocean View Course.
At One minute in on this video.
Gigabyte ga-z68x-ud3h-b3 Motherboard
Intel Core i5-2400 CPU@3.1GHz 3.70GHz
GeForce GTX 1050 Ti
16GB Ram (2)G.Skill Ripjaws F3-10666L9S-8GBXL
Windows 7 Home Premium
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users