|
| 23 Jul 2015 05:28 PM |
Ok so I'm making a pegasus (lol) model and i have the morph and everything set up, so I have a fly tool that works and all.
When a player steps on the morph they get a fly tool (hopperbin actually) and they transform into a pegasus. The chest part of the pegasus is welded to the players torso. Now when they fly hopper bin is selected i want the wings, which are part of the chest, to flap up and down. How would i do this? |
|
|
| Report Abuse |
|
|
| |
|
instawin
|
  |
| Joined: 04 Jun 2013 |
| Total Posts: 8777 |
|
|
| 23 Jul 2015 05:37 PM |
if your pegasus is this mesh:
http://www.roblox.com/Wizards-of-the-Astral-Isles-Pegasus-item?id=106701659
then i don't think you can, considering the mesh is probably just the pegasus itself (the wings aren't a seperate mesh i think)
if the wings are another mesh, or different parts, then you could use CFrame to make the wings flap (if each wing is a model, then :SetPrimaryPartCFrame(your rotated cframe))
or if they are welded, you could probably use the C0 and C1 properties to rotate them, i don't really know too much about welds though so what i said may not have made much sense |
|
|
| Report Abuse |
|
|
| |
|
| |
|
instawin
|
  |
| Joined: 04 Jun 2013 |
| Total Posts: 8777 |
|
|
| 23 Jul 2015 05:50 PM |
then yes, you could probably make them flap if they are different parts do something like this for a flapping motion
local p = workspace:WaitForChild("Part") print("hi")
while wait() do for clerp = 0, 1, 0.1 do p.CFrame = p.CFrame:lerp(p.CFrame * CFrame.Angles(0, 0, math.rad(3)), clerp) wait() end
for clerp = 0, 1, 0.1 do p.CFrame = p.CFrame:lerp(p.CFrame * CFrame.Angles(0, 0, math.rad(-3)), clerp) wait() end
end
|
|
|
| Report Abuse |
|
|
| |
|
fret13103
|
  |
| Joined: 15 Mar 2010 |
| Total Posts: 881 |
|
|
| 23 Jul 2015 06:16 PM |
| if you're gonna ignore answers gtfo |
|
|
| Report Abuse |
|
|
|
| 23 Jul 2015 06:17 PM |
Im not ignoring answers i just partied him. i don't know what to do with that.
If ur not gonna help, gtfo |
|
|
| Report Abuse |
|
|
|
| 23 Jul 2015 08:00 PM |
| instawin i union the wings now what? |
|
|
| Report Abuse |
|
|