Source Filmmaker

Source Filmmaker

Camera View Target script
47 Comments
The Somewhat Fantastic Mr. Fox 2 Jun, 2024 @ 1:55pm 
Subscribing to the addon breaks a lot of things, but the dropbox download works flawless!
Thanks!
Fullcaber 18 Jun, 2022 @ 7:30am 
can u make a script that resets the axis to normal directions sometimes when i rotate the camera view it makes the axis all wonkey side ways
Lily_D 10 May, 2021 @ 2:28pm 
this script still works?
OMG Theres A Bear In My Oatmeal!  [author] 10 Nov, 2019 @ 11:10am 
yea that link is dead, just use the dropbox download link above in the the description.
TechnicalGlitch 10 Nov, 2019 @ 10:59am 
when i open the download under the YT video
OMG Theres A Bear In My Oatmeal!  [author] 9 Nov, 2019 @ 12:30pm 
where did you get that error?
TechnicalGlitch 9 Nov, 2019 @ 9:57am 
404 - File or directory not found.
OMG Theres A Bear In My Oatmeal!  [author] 8 Nov, 2019 @ 3:20pm 
just place the file here "SourceFilmmaker\game\workshop\scripts\sfm\animset\" the video below the download link also shows how to use it.
TechnicalGlitch 8 Nov, 2019 @ 6:23am 
i download something but i don't know how set up this
OMG Theres A Bear In My Oatmeal!  [author] 7 Nov, 2019 @ 3:05pm 
did you try the other script in the description?
TechnicalGlitch 7 Nov, 2019 @ 7:34am 
this didn't work, help plz?
Candle 13 Oct, 2019 @ 8:33am 
Very useful script! And thank you to Kumquat for pointing out it can be rigged to a light or to a head.
Kumquat [Velbud] 20 Oct, 2017 @ 7:13pm 
One thing to note though, the orientation is based on the origin point which you assign to your model, so you cannot use a single node to get this working well. You would need multiple nodes. This script can only do one node at a time, which is still good enough for me and for most animators. This is just some fun bits that I have learned from playing with it. It could be included in the description for it.
Kumquat [Velbud] 20 Oct, 2017 @ 7:08pm 
Never mind about the translation. It actually works if I temporarily lock the transform bone to the orientation of the bone I wish for (in this case, the head, and the translation works). In short, your script should be called the Universal Node System! :D
Kumquat [Velbud] 20 Oct, 2017 @ 6:52pm 
This script works for lights, too! Tested and confirmed! :)
For models, the XYZ translation works in a weird way (it rotates the head on the rootTransform axis if I tell it to follow the node). This script can be used for more than just cameras, though. It's definitely a good helper for locking on lights to assist with a semiomnilight look. Good work. Ill see if I can modify it to work for models.
Kumquat [Velbud] 18 Oct, 2017 @ 6:22pm 
Interesting. Time to work my attempt at it! :D
OMG Theres A Bear In My Oatmeal!  [author] 18 Oct, 2017 @ 5:09pm 
thanks for telling me. i added a link to the copy i have. and yes you can add this node control to models too, you would need to tweak the code though.
Kumquat [Velbud] 18 Oct, 2017 @ 3:55pm 
Nice script dude. Just a warning though. The link your provided to the guy who made a "better" script, the downlink is Error 404, thus it is pretty much gone. Still a good tutorial to explain how it behaves in a little more detail. I'm curious if I can add this node control to models though...
EpicLPer 15 Jul, 2017 @ 3:56pm 
But I can't move the whole camera without the script acting up it seems which sucks :(
Vividge 29 Jan, 2017 @ 3:01pm 
I love this item, it's great and helps me with animation. Thanks a lot!!
fat birb 17 Oct, 2016 @ 7:03pm 
Alright, thanks! I think I'm done for now.
OMG Theres A Bear In My Oatmeal!  [author] 17 Oct, 2016 @ 5:09pm 
@The Dogetor, in the sfm script editor or though applying the script you can use help() on objects like this help(sfmUtils) or in your case help(vs.Quaternion)
fat birb 17 Oct, 2016 @ 4:09pm 
Okay, how do I use help()? Also, what are the arguments vs.Quaternion?
OMG Theres A Bear In My Oatmeal!  [author] 16 Oct, 2016 @ 2:33pm 
@The Dogetor, basically practice and experimenting. also using the python "help()" function helps me alot to find out what methods are available in sfm objects. i dont mind the questions so ask if you need help with any code.
fat birb 16 Oct, 2016 @ 1:47pm 
Where did you learn how to do this so I can stop pestering you with questions?
fat birb 16 Oct, 2016 @ 1:43pm 
Ah dammit, I should have read the console instead of assuming. Thanks for helping!
OMG Theres A Bear In My Oatmeal!  [author] 15 Oct, 2016 @ 5:57pm 
@The Dogetor,right. did you make sure to change the "frame number" text to a frame number to want to test?
fat birb 14 Oct, 2016 @ 12:16pm 
I select the camera in the animation set tree, then right click and go to rig-->script name, right? It doesn't appear to work, unfortunately.
OMG Theres A Bear In My Oatmeal!  [author] 13 Oct, 2016 @ 8:05am 
@The Dogetor,you would do someting like this:

transformdag = sfmUtils.FindFirstDag( [ 'transform' ], True )# grab the transform dag

time=vs.DmeTime_t( ((1/sfmApp.GetFramesPerSecond())*frame number)+5)#used to add the key at the right frame

transformdag.FindTransformControl().GetPositionChannel().GetLog().SetKey(time,vs.Vector(50,60,7))#to change the postion

transformdag.FindTransformControl().GetOrientationChannel().GetLog().SetKey(time,vs.Quaternion(-0.4877864122, -0.1150019318, -0.188069284 ,0.84467))#to change the Orientation

basically you are going though the element viewer via script to change the cameras values.you would apply it like a rig for a model.
fat birb 11 Oct, 2016 @ 8:24pm 
ok, well how would you go about doing so?
OMG Theres A Bear In My Oatmeal!  [author] 11 Oct, 2016 @ 7:42pm 
@The Dogetor, well sort of, sometimes it works sometimes it doesnt.
fat birb 11 Oct, 2016 @ 7:03pm 
Sorry for being unrelated to the workshop item but do you know how to move a camera's position/rotation through a script?
MrXBX 1 Oct, 2016 @ 9:11pm 
By the way, this can also be used with lights. This is one of my favorite workshop items because of how useful it is. Thank you!
miku 6 Aug, 2016 @ 4:45am 
VERY NICE!:steamhappy:
Starch 14 Jun, 2016 @ 7:11am 
ah, ok. This ones at least in the simplicity of the workshop. Nice job dude
OMG Theres A Bear In My Oatmeal!  [author] 14 Jun, 2016 @ 6:15am 
@WellWhaddayaKnow, his script is better, i only made this one because someone asked for a script like this and i didnt really look to see if someone already made it.
Starch 14 Jun, 2016 @ 2:46am 
>try this other script that was made a few years back by MulleDK19. its a better version of this script.
Is his script better or your script better? and if his is why did you bother make yours? im so confused....
Fluid 13 Jun, 2016 @ 8:25am 
@ToxicRunawayFox I hope you realize that this was made as a shortcut .
WingedDash 9 Jun, 2016 @ 10:17pm 
i know how to do the same thing without this i just drag the camra onto the screen and move it and if i want the model to move i just put the trancform into it though you need the camra selected ok yea though good mod for beginners. (sorry for my spelling :P)
MaxFM 9 Jun, 2016 @ 1:59pm 
Cool this is awesome
Doctor_GLaDOS 9 Jun, 2016 @ 9:46am 
Nice one !
Surdavow 9 Jun, 2016 @ 12:19am 
Seems handy, thanks.
Bayside 8 Jun, 2016 @ 6:36pm 
Dude this is fucking sick! Nice job!!
Andelerius 8 Jun, 2016 @ 2:01pm 
Man, this script is magnificent, Amazing job!!!
Paintbrush Poltergeist 8 Jun, 2016 @ 12:32pm 
Nice job!
RatchetMario [Thelombax51] 7 Jun, 2016 @ 11:12pm 
Man, I didn't know these already existed! Its just like other 3D programs camera does it.
GottoGure 7 Jun, 2016 @ 5:26pm 
wow this script is no more doing locking camera to the model also we can edit camera angle with this thank you for script if i broke something about this script i'll let you know :D