Kipyko
|
  |
| Joined: 01 Jun 2014 |
| Total Posts: 249 |
|
|
| 13 May 2015 01:27 AM |
Short and fast Why isnt the Pos Moving with the heads position a.k.a staying above the heads position? Targ is the Head's Position and Pos is a Vector3 im thinking its just Staying at the Y of 67.5 how do i make it so it takes that number and adds it to the Y position of the head each time? because its staying in 1 exact spot while the camera once the character is moving farther from it moves down to adjust to the characters level and moves up once the character is moving towards the camera such to adjust to the level of angle.
These are snippits of the script that i am currently working on. The Whole script works perfectly fine its just the Pos as i said above. Any help would be fantastic even if its something on the lines of YOUR CODES SUCK YOU SHOULD DO THIS OR THIS DIFFERENTLY which i will respond with thank you :D now i know what to do to make my scripts more effective.
---------------------------- Identifiers ---------------------------------------
Pos = Vector3.new(0, 67.5, 0) Targ = script.Parent.Parent.Character.Head.Position c = game.Workspace.CurrentCamera A = nil
----------------------- This is a different Line Below ------------------------- ----------------------- This Code is moving with the head every (0.1)----------- if A == nil then c.CoordinateFrame = CFrame.new(Pos,Targ) wait(0.1) Constance() end end |
|
|
| Report Abuse |
|
|
Goulstem
|
  |
| Joined: 04 Jul 2012 |
| Total Posts: 7177 |
|
| |
|
Kipyko
|
  |
| Joined: 01 Jun 2014 |
| Total Posts: 249 |
|
| |
|
Kipyko
|
  |
| Joined: 01 Jun 2014 |
| Total Posts: 249 |
|
|
| 13 May 2015 02:24 AM |
ahhhhh kk let me word it easier and shorter
how u make Pos stay above head and stay in one spot for cam? |
|
|
| Report Abuse |
|
|
|
| 13 May 2015 02:42 AM |
tl;dr = Too long didn't read
Are you doing this in Humanoid? |
|
|
| Report Abuse |
|
|
Kipyko
|
  |
| Joined: 01 Jun 2014 |
| Total Posts: 249 |
|
|
| 13 May 2015 02:58 AM |
| ahhh just tried humanoid sadly its giving me an error saying CFrame Expected yata yata yata and then when i add cframe it says oh Vector3 Expected T_T ty for the help though :) |
|
|
| Report Abuse |
|
|
|
| 14 Jun 2015 06:11 AM |
Sorry for the Bump, I haven't looked at this thread for awhile. Is this a TOP down view your working on? ~ Friendly |
|
|
| Report Abuse |
|
|
Goulstem
|
  |
| Joined: 04 Jul 2012 |
| Total Posts: 7177 |
|
|
| 14 Jun 2015 03:45 PM |
| Dude this thread is over a month old .-. |
|
|
| Report Abuse |
|
|
Kipyko
|
  |
| Joined: 01 Jun 2014 |
| Total Posts: 249 |
|
|
| 02 Aug 2015 12:12 PM |
I know this is a super duper late response but yes Dylan it is but I rewrote a lot of my scripts in the past 3-4 months. Most of them are working perfectly/glitchy now but thank you for the acknowledgement on my help post. It does mean a lot that someone would comment a month later wondering if I still needed help and I feel really silly for commenting a couple months later to the response XD Thank You and Hope you have a great day if, if not or whenever u read this XD ~Kip |
|
|
| Report Abuse |
|
|